Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005601/0.005601, allocations: 102 kB / 15.73 MB, free: 6.039 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.001186/0.001186, allocations: 193 kB / 16.67 MB, free: 5.961 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.88 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002581/1.093, allocations: 0.8228 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001461/1.093, allocations: 43.78 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/1.093, allocations: 4 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/1.093, allocations: 7.922 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.476e-05/1.094, allocations: 11.88 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.439e-05/1.094, allocations: 15.98 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/1.094, allocations: 59.84 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/1.094, allocations: 51.84 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/1.094, allocations: 19.94 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/1.094, allocations: 35.77 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/1.094, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/1.094, allocations: 8 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/1.094, allocations: 11.94 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/1.094, allocations: 35.8 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/1.094, allocations: 71.64 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.094, allocations: 0 / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.644e-06/1.094, allocations: 4 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.631e-06/1.094, allocations: 0 / 1.209 GB, free: 12.44 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.0004821/1.095, allocations: 384.8 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.095, allocations: 12.03 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/1.095, allocations: 8.844 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/1.095, allocations: 188.2 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/1.095, allocations: 12.31 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/1.095, allocations: 12.31 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/1.096, allocations: 97.66 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.096, allocations: 192 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.096, allocations: 7.938 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.096, allocations: 4 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/1.096, allocations: 35.92 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/1.096, allocations: 436.6 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/1.097, allocations: 41.25 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/1.097, allocations: 21.77 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/1.097, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.097, allocations: 38.56 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.097, allocations: 0 / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001756/1.097, allocations: 53.48 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.097, allocations: 77.11 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.097, allocations: 160.5 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.097, allocations: 25.7 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/1.097, allocations: 108 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/1.097, allocations: 11.89 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/1.097, allocations: 21.95 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.097, allocations: 314.8 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/1.097, allocations: 8 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/1.097, allocations: 25.64 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/1.097, allocations: 21.72 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.097, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.285e-05/1.098, allocations: 69.53 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.098, allocations: 4 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.098, allocations: 3.938 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.098, allocations: 0 / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/1.098, allocations: 8 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.098, allocations: 0 / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/1.098, allocations: 7.906 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.098, allocations: 7.938 kB / 1.211 GB, free: 10 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.0001472/1.098, allocations: 117.9 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/1.098, allocations: 7.906 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/1.098, allocations: 15.8 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.098, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.098, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.098, allocations: 4.078 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/1.099, allocations: 470.8 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.099, allocations: 8 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/1.099, allocations: 4 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.099, allocations: 0 / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/1.099, allocations: 0 / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/1.099, allocations: 7.938 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.099, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.734e-05/1.099, allocations: 81.83 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/1.099, allocations: 96.97 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/1.099, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/1.099, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/1.099, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/1.099, allocations: 4 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.641e-05/1.099, allocations: 121.3 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.099, allocations: 0 / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001945/1.099, allocations: 11.91 kB / 1.212 GB, free: 8.957 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.0001213/1.099, allocations: 107.2 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.934e-05/1.1, allocations: 15.98 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.1, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/1.1, allocations: 7.938 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/1.1, allocations: 11.94 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/1.1, allocations: 162.8 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.1, allocations: 0.7004 MB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.544e-05/1.1, allocations: 4.438 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/1.1, allocations: 11.44 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.1, allocations: 0 / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of Templates: time 0.002956/1.103, allocations: 468.5 kB / 1.213 GB, free: 7.414 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches