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.001644/0.001644, allocations: 109.1 kB / 16.41 MB, free: 6.012 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.002091/0.002091, allocations: 192.9 kB / 17.35 MB, free: 5.625 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.83 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002447/1.067, allocations: 0.8347 MB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001808/1.068, allocations: 35.8 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/1.068, allocations: 4 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/1.068, allocations: 7.875 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/1.068, allocations: 19.86 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.639e-05/1.068, allocations: 19.97 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/1.068, allocations: 59.84 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/1.068, allocations: 47.92 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/1.068, allocations: 31.8 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/1.069, allocations: 23.86 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/1.069, allocations: 8 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/1.069, allocations: 4 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/1.069, allocations: 15.92 kB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/1.069, allocations: 35.8 kB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/1.069, allocations: 75.64 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.069, allocations: 3.938 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/1.069, allocations: 0 / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.069, allocations: 4 kB / 1.21 GB, free: 12.42 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.0005511/1.069, allocations: 380.8 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.069, allocations: 8.031 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/1.069, allocations: 8.844 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/1.07, allocations: 192.2 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.07, allocations: 8.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/1.07, allocations: 4.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/1.07, allocations: 97.92 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.07, allocations: 192 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.07, allocations: 7.938 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.07, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/1.07, allocations: 43.86 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/1.071, allocations: 436.6 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.595e-05/1.071, allocations: 45.16 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/1.071, allocations: 21.88 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/1.071, allocations: 4 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/1.071, allocations: 30.56 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/1.071, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002171/1.071, allocations: 61.47 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/1.071, allocations: 81.11 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/1.071, allocations: 154.2 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.071, allocations: 29.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/1.072, allocations: 104 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/1.072, allocations: 7.906 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/1.072, allocations: 13.72 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.072, allocations: 323.1 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/1.072, allocations: 8 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/1.072, allocations: 13.72 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/1.072, allocations: 37.64 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.072, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.384e-05/1.072, allocations: 57.58 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.072, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.072, allocations: 7.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.072, allocations: 3.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/1.072, allocations: 7.984 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.072, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/1.072, allocations: 7.906 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/1.072, allocations: 0 / 1.212 GB, free: 9.992 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 8.179e-05/1.072, allocations: 113.8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/1.072, allocations: 11.94 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/1.072, allocations: 15.81 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.072, allocations: 0 / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.072, allocations: 0 / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/1.072, allocations: 89 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/1.072, allocations: 4 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/1.073, allocations: 4 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/1.073, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001222/1.073, allocations: 200.3 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000195/1.073, allocations: 301.9 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.466e-05/1.073, allocations: 8 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.124e-05/1.073, allocations: 121.5 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of Backend: time 2.5e-07/1.073, allocations: 0 / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004778/1.073, allocations: 98.38 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00058/1.074, allocations: 0.6083 MB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.003106/1.077, allocations: 0.5307 MB / 1.214 GB, free: 7.793 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/jenkins1/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