Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007107/0.007107, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001537/0.001537, allocations: 199.2 kB / 16.68 MB, free: 5.91 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002215/1.095, allocations: 0.8772 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001622/1.095, allocations: 51.72 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/1.095, allocations: 4 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/1.095, allocations: 11.86 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.272e-05/1.095, allocations: 15.81 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.903e-05/1.095, allocations: 27.97 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000132/1.096, allocations: 79.83 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/1.096, allocations: 53.06 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/1.096, allocations: 39.73 kB / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/1.096, allocations: 31.8 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/1.096, allocations: 8 kB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/1.096, allocations: 8 kB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/1.096, allocations: 23.92 kB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/1.096, allocations: 43.73 kB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/1.096, allocations: 103.3 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.096, allocations: 3.984 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/1.096, allocations: 0 / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.096, allocations: 0 / 1.209 GB, free: 12.25 MB / 0.9356 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.0004838/1.097, allocations: 397.2 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.097, allocations: 12.03 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/1.097, allocations: 12.75 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/1.097, allocations: 208.2 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.097, allocations: 8.562 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/1.097, allocations: 8.375 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/1.097, allocations: 103.5 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.097, allocations: 0 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.097, allocations: 12 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.097, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/1.098, allocations: 47.86 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/1.098, allocations: 460.3 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.729e-05/1.098, allocations: 45.03 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.098, allocations: 29.83 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/1.098, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/1.098, allocations: 34.56 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/1.098, allocations: 0 / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002243/1.099, allocations: 53.55 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/1.099, allocations: 81.36 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/1.099, allocations: 183.2 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/1.099, allocations: 25.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/1.099, allocations: 112 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/1.099, allocations: 3.906 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/1.099, allocations: 25.61 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.099, allocations: 322.8 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/1.099, allocations: 7.984 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/1.099, allocations: 21.72 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/1.099, allocations: 25.66 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.099, allocations: 0 / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001129/1.099, allocations: 65.53 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.1, allocations: 4 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.1, allocations: 0 / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.1, allocations: 8.062 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/1.1, allocations: 4 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.1, allocations: 224 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/1.1, allocations: 15.78 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/1.1, allocations: 3.938 kB / 1.211 GB, free: 9.691 MB / 0.9356 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 0.0001082/1.1, allocations: 113.8 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/1.1, allocations: 15.89 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/1.1, allocations: 12.56 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.1, allocations: 0 / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.1, allocations: 4 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.1, allocations: 3.938 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/1.1, allocations: 478.8 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.1, allocations: 0 / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/1.1, allocations: 4.094 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.1, allocations: 3.984 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/1.1, allocations: 3.938 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.1, allocations: 64 / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.101, allocations: 7.938 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/1.101, allocations: 85.8 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/1.101, allocations: 89 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/1.101, allocations: 3.938 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/1.101, allocations: 0 / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/1.101, allocations: 11.97 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/1.101, allocations: 0 / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001237/1.101, allocations: 139.2 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.101, allocations: 0 / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001908/1.101, allocations: 8 kB / 1.212 GB, free: 8.613 MB / 0.9356 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.0001439/1.101, allocations: 97.36 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001093/1.101, allocations: 19.94 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.101, allocations: 128 / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/1.101, allocations: 8 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/1.102, allocations: 12 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/1.102, allocations: 186.6 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/1.102, allocations: 0.7002 MB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.591e-05/1.102, allocations: 12.67 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/1.102, allocations: 11.44 kB / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.102, allocations: 0 / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of Templates: time 0.002823/1.105, allocations: 0.516 MB / 1.214 GB, free: 6.992 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches