Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005443/0.005443, allocations: 105.9 kB / 15.74 MB, free: 6.055 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.001214/0.001215, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001756, allocations: 63.89 kB / 1.054 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.11, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002622/1.113, allocations: 0.8228 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001755/1.113, allocations: 39.78 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/1.113, allocations: 4 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.576e-05/1.113, allocations: 7.875 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/1.113, allocations: 19.86 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.067e-05/1.113, allocations: 15.98 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/1.114, allocations: 63.84 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/1.114, allocations: 43.92 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/1.114, allocations: 23.92 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/1.114, allocations: 35.77 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/1.114, allocations: 8 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/1.114, allocations: 7.938 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/1.114, allocations: 15.94 kB / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/1.114, allocations: 31.8 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/1.114, allocations: 71.7 kB / 1.209 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.114, allocations: 0 / 1.209 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.394e-06/1.114, allocations: 0 / 1.209 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.114, allocations: 0 / 1.209 GB, free: 12.37 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006976/1.115, allocations: 388.8 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/1.115, allocations: 8.031 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/1.115, allocations: 8.844 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/1.116, allocations: 200 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.116, allocations: 8.375 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/1.116, allocations: 8.375 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/1.116, allocations: 91.94 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.116, allocations: 8.125 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.116, allocations: 7.938 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.116, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/1.116, allocations: 31.98 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/1.117, allocations: 436.6 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/1.117, allocations: 41.16 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/1.117, allocations: 25.83 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/1.117, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/1.117, allocations: 38.5 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/1.117, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000243/1.117, allocations: 57.55 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/1.117, allocations: 81.05 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/1.118, allocations: 160.3 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/1.118, allocations: 25.7 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/1.118, allocations: 108 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/1.118, allocations: 7.891 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/1.118, allocations: 13.72 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.118, allocations: 327.1 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/1.118, allocations: 8 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/1.118, allocations: 21.7 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/1.118, allocations: 21.72 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.118, allocations: 3.938 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.76e-05/1.118, allocations: 49.61 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/1.118, allocations: 18.08 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.118, allocations: 3.938 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/1.118, allocations: 0 / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/1.118, allocations: 8 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/1.118, allocations: 7.938 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/1.118, allocations: 7.844 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/1.118, allocations: 4 kB / 1.211 GB, free: 9.926 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.0001154/1.119, allocations: 113.8 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/1.119, allocations: 7.906 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/1.119, allocations: 15.8 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.119, allocations: 96 / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.119, allocations: 4 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.119, allocations: 3.984 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/1.119, allocations: 474.7 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.119, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/1.119, allocations: 4 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.119, allocations: 4.062 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.119, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.119, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.119, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/1.119, allocations: 89.77 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/1.12, allocations: 88.94 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/1.12, allocations: 4 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/1.12, allocations: 4.031 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/1.12, allocations: 0 / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/1.12, allocations: 0 / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001035/1.12, allocations: 121.7 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.12, allocations: 0 / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001996/1.12, allocations: 15.91 kB / 1.212 GB, free: 8.879 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.0002104/1.12, allocations: 95.25 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000133/1.12, allocations: 23.94 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.12, allocations: 0 / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/1.12, allocations: 7.984 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/1.121, allocations: 11.94 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/1.121, allocations: 162.8 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/1.121, allocations: 0.697 MB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.543e-05/1.121, allocations: 4.438 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/1.121, allocations: 11.44 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.121, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.002974/1.124, allocations: 467.7 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches