Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 192.6 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8703, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002178/0.8725, allocations: 0.9416 MB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.8727, allocations: 50.59 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.8727, allocations: 1.375 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.8728, allocations: 7.922 kB / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.916e-05/0.8729, allocations: 9.312 kB / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.557e-05/0.873, allocations: 24.11 kB / 0.9501 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.8731, allocations: 78.03 kB / 0.9502 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.8732, allocations: 53.7 kB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.8733, allocations: 29.48 kB / 0.9503 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.8733, allocations: 41.22 kB / 0.9503 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.8734, allocations: 8.25 kB / 0.9503 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.8734, allocations: 8.25 kB / 0.9503 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.8734, allocations: 18.67 kB / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.8735, allocations: 40 kB / 0.9504 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.8736, allocations: 94.12 kB / 0.9505 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8736, allocations: 3.938 kB / 0.9505 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8736, allocations: 9.312 kB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.8736, allocations: 0 / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00041/0.874, allocations: 396.1 kB / 0.9508 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.8741, allocations: 9.625 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.8741, allocations: 10.34 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.8743, allocations: 200.7 kB / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.8743, allocations: 4.688 kB / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.8743, allocations: 9.875 kB / 0.9511 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.8745, allocations: 120.5 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8745, allocations: 0 / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8745, allocations: 1.406 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8745, allocations: 2.344 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.8746, allocations: 43.11 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.8751, allocations: 476.6 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.8751, allocations: 34.92 kB / 0.9517 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.8752, allocations: 20.66 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.8752, allocations: 7.922 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.8752, allocations: 35.97 kB / 0.9518 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8752, allocations: 0 / 0.9518 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001652/0.8754, allocations: 55.31 kB / 0.9518 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.8754, allocations: 78.39 kB / 0.9519 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.8756, allocations: 190.1 kB / 0.9521 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.8756, allocations: 25.7 kB / 0.9521 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.8756, allocations: 109.6 kB / 0.9522 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.8757, allocations: 9.594 kB / 0.9522 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.8757, allocations: 17.47 kB / 0.9522 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.8758, allocations: 325.2 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.8758, allocations: 8.031 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.8758, allocations: 17.69 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.8758, allocations: 30.69 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8758, allocations: 4 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.048e-05/0.8759, allocations: 56.84 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.8759, allocations: 5.594 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8759, allocations: 0 / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.876, allocations: 1.406 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.876, allocations: 8.875 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.876, allocations: 5.328 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.8761, allocations: 18.44 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8761, allocations: 1.156 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.8761, allocations: 117.9 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.8762, allocations: 8.281 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.8762, allocations: 12.69 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8762, allocations: 4.75 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8762, allocations: 1.125 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8762, allocations: 7.922 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.8765, allocations: 477.7 kB / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8765, allocations: 4 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.8766, allocations: 3.281 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8766, allocations: 5.766 kB / 0.9533 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.8766, allocations: 3.938 kB / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8766, allocations: 1.406 kB / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8766, allocations: 0 / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.136e-05/0.8767, allocations: 79 kB / 0.9534 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.8767, allocations: 92.97 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.8767, allocations: 5.281 kB / 0.9535 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.8768, allocations: 1.125 kB / 0.9535 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.8768, allocations: 1.25 kB / 0.9535 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.8768, allocations: 1.188 kB / 0.9535 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.8769, allocations: 139.1 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8769, allocations: 0 / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001874/0.8771, allocations: 11.19 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.8772, allocations: 100.8 kB / 0.9537 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.311e-05/0.8773, allocations: 26.77 kB / 0.9538 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8773, allocations: 0 / 0.9538 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.8773, allocations: 8.062 kB / 0.9538 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.8775, allocations: 8.703 kB / 0.9538 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.8778, allocations: 212.1 kB / 0.954 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.8779, allocations: 0.7024 MB / 0.9547 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.878, allocations: 9.141 kB / 0.9547 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.878, allocations: 11.75 kB / 0.9547 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.878, allocations: 0 / 0.9547 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of Templates: time 0.002748/0.8808, allocations: 0.5058 MB / 0.9552 GB, free: 3.551 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches