Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001466/0.001466, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001579/0.001579, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.619/2.619, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 68.66 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7049, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002072/0.707, allocations: 0.8771 MB / 1.084 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001527/0.7072, allocations: 49.97 kB / 1.084 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.7072, allocations: 6.062 kB / 1.084 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.7073, allocations: 9.938 kB / 1.084 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.7074, allocations: 14.42 kB / 1.084 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.492e-05/0.7075, allocations: 22.44 kB / 1.084 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.7076, allocations: 82.44 kB / 1.084 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.7077, allocations: 55.42 kB / 1.084 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.7078, allocations: 35.64 kB / 1.084 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.7079, allocations: 33.78 kB / 1.084 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.7079, allocations: 7.312 kB / 1.084 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.7079, allocations: 8.875 kB / 1.084 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.7079, allocations: 24.95 kB / 1.084 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.708, allocations: 38.33 kB / 1.084 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.7081, allocations: 98.8 kB / 1.084 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7081, allocations: 0 / 1.084 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7081, allocations: 0 / 1.084 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7081, allocations: 0 / 1.084 GB, free: 0.7891 MB / 0.8262 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.0003798/0.7085, allocations: 400.7 kB / 1.085 GB, free: 396 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.7086, allocations: 9.781 kB / 1.085 GB, free: 396 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.7086, allocations: 13.91 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.7088, allocations: 208 kB / 1.085 GB, free: 164 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.7088, allocations: 8.656 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.7088, allocations: 7.219 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.709, allocations: 105 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.709, allocations: 5.156 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.709, allocations: 9.062 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.709, allocations: 2.5 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.7091, allocations: 44.41 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.7097, allocations: 469.9 kB / 1.085 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.226e-05/0.7098, allocations: 48.95 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.7098, allocations: 16.84 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.7098, allocations: 1.094 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.7099, allocations: 32.34 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.7099, allocations: 0 / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.7101, allocations: 62.08 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.7101, allocations: 79.09 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.7103, allocations: 180.7 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.7104, allocations: 26.41 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.7105, allocations: 112.8 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.7105, allocations: 5.719 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.7105, allocations: 19.33 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7107, allocations: 332 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.7107, allocations: 5.203 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.7107, allocations: 19.22 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.7108, allocations: 27.09 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7108, allocations: 1.094 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.693e-05/0.7109, allocations: 66.36 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.7109, allocations: 5.094 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7109, allocations: 0 / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7109, allocations: 1.125 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.711, allocations: 7.344 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.711, allocations: 0 / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.711, allocations: 15.67 kB / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.7111, allocations: 1.406 kB / 1.086 GB, free: 14.65 MB / 0.8419 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 8.863e-05/0.7111, allocations: 113.5 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.7112, allocations: 10.05 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.7112, allocations: 18.47 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7112, allocations: 1.094 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7112, allocations: 0.8438 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7113, allocations: 4.75 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.7117, allocations: 471.7 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.7117, allocations: 1.297 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.7118, allocations: 8.422 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7118, allocations: 4 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.7118, allocations: 9.062 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7118, allocations: 1.875 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7118, allocations: 4.031 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.835e-05/0.7119, allocations: 89.77 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.712, allocations: 87.61 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.712, allocations: 10 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.283e-05/0.712, allocations: 0.5938 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.7121, allocations: 2.234 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.7121, allocations: 1.094 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001343/0.7122, allocations: 138.5 kB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3e-07/0.7122, allocations: 0 / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002031/0.7124, allocations: 7.844 kB / 1.087 GB, free: 13.72 MB / 0.8419 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.0001222/0.7125, allocations: 96.42 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.7126, allocations: 25.72 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7126, allocations: 0 / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.7127, allocations: 3.344 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.7128, allocations: 11.17 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.7132, allocations: 224.1 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.7136, allocations: 0.6972 MB / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.7136, allocations: 12.16 kB / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7137, allocations: 4.938 kB / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.002773/0.7164, allocations: 0.978 MB / 1.089 GB, free: 12.63 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches