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 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.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.001607/0.001614, allocations: 106.9 kB / 15.99 MB, free: 6.363 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.001782/0.001782, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.456/1.456, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 482.4 MB / 0.755 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.69 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7588, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001943/0.7607, allocations: 0.9276 MB / 1.083 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.7609, allocations: 55.09 kB / 1.083 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.7609, allocations: 1 kB / 1.083 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.761, allocations: 7.672 kB / 1.083 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.7611, allocations: 5.672 kB / 1.083 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.673e-05/0.7611, allocations: 22.48 kB / 1.083 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.7612, allocations: 83.55 kB / 1.083 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.7614, allocations: 54.59 kB / 1.084 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.7614, allocations: 32.27 kB / 1.084 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.7615, allocations: 36.47 kB / 1.084 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.7615, allocations: 8.219 kB / 1.084 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.7615, allocations: 8.094 kB / 1.084 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.7616, allocations: 17.36 kB / 1.084 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.7616, allocations: 42.47 kB / 1.084 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.679e-05/0.7617, allocations: 72.98 kB / 1.084 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7617, allocations: 8.938 kB / 1.084 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7617, allocations: 0 / 1.084 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7617, allocations: 0 / 1.084 GB, free: 0.7656 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.0003604/0.7621, allocations: 398.5 kB / 1.084 GB, free: 376 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.7621, allocations: 9.969 kB / 1.084 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.7622, allocations: 14.34 kB / 1.084 GB, free: 368 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.7623, allocations: 212.5 kB / 1.084 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7624, allocations: 8.375 kB / 1.084 GB, free: 136 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.7624, allocations: 5.906 kB / 1.084 GB, free: 136 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.7626, allocations: 111.1 kB / 1.084 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.7626, allocations: 2.297 kB / 1.084 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.7626, allocations: 7.938 kB / 1.084 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.7627, allocations: 2.375 kB / 1.084 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.7628, allocations: 40.17 kB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.7636, allocations: 466.9 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.624e-05/0.7637, allocations: 40.91 kB / 1.085 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.7637, allocations: 17.95 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.7638, allocations: 7.922 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.7638, allocations: 40.5 kB / 1.085 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7638, allocations: 0 / 1.085 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001992/0.764, allocations: 54.25 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.7641, allocations: 77.86 kB / 1.085 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.7643, allocations: 185.5 kB / 1.085 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.7644, allocations: 26.27 kB / 1.085 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.7645, allocations: 113.7 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.7645, allocations: 9.344 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.7645, allocations: 22.66 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7647, allocations: 324.5 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.7647, allocations: 7.625 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.7648, allocations: 19.98 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.7648, allocations: 27.56 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7648, allocations: 0 / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.881e-05/0.7649, allocations: 62.8 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.765, allocations: 5.625 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.765, allocations: 0.6094 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.765, allocations: 0.875 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.7651, allocations: 6.75 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7651, allocations: 1.469 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.7651, allocations: 14.97 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.7651, allocations: 0.7188 kB / 1.086 GB, free: 14.63 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 0.0001126/0.7652, allocations: 122.7 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.7653, allocations: 9.453 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.7653, allocations: 18.64 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.7653, allocations: 1.062 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7654, allocations: 1.062 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.7654, allocations: 3.938 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.7659, allocations: 476.4 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7659, allocations: 1.031 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.7659, allocations: 4.109 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.7659, allocations: 1.062 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.7659, allocations: 3.938 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7659, allocations: 0.9375 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.766, allocations: 1.859 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.7661, allocations: 89.02 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.7662, allocations: 87.62 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.7662, allocations: 6.031 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.7662, allocations: 1.375 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.7662, allocations: 9.75 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7662, allocations: 1.812 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001306/0.7664, allocations: 131.9 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7664, allocations: 0 / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001972/0.7666, allocations: 11.72 kB / 1.087 GB, free: 13.7 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.0001518/0.7667, allocations: 100.8 kB / 1.087 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.7669, allocations: 15.42 kB / 1.087 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7669, allocations: 0 / 1.087 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.7669, allocations: 13.2 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.7671, allocations: 9.188 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.7675, allocations: 241.3 kB / 1.087 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.7679, allocations: 0.7018 MB / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.768, allocations: 12.47 kB / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.768, allocations: 0 / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.003094/0.7711, allocations: 0.9923 MB / 1.089 GB, free: 12.57 MB / 0.8419 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=400 -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/jenkins1/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