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 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.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.001364/0.001364, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001349/0.001349, allocations: 194 kB / 16.25 MB, free: 6.621 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.49/1.49, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 69.69 kB / 0.9116 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4561, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00235/0.4585, allocations: 0.8786 MB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.4587, allocations: 39.78 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.4587, allocations: 0 / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.4588, allocations: 7.922 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.4589, allocations: 3.938 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.507e-05/0.459, allocations: 19.98 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.4591, allocations: 55.86 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.4593, allocations: 47.95 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.4593, allocations: 23.88 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.4594, allocations: 31.83 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4594, allocations: 7.938 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.4594, allocations: 8 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.4595, allocations: 15.94 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.4595, allocations: 39.73 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.4596, allocations: 64.05 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4597, allocations: 0 / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4597, allocations: 0 / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4597, allocations: 4 kB / 1.069 GB, free: 9.508 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004785/0.4602, allocations: 379.1 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4602, allocations: 12.03 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4602, allocations: 12.84 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.4605, allocations: 204 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4605, allocations: 4.375 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4605, allocations: 8.375 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.4607, allocations: 91.94 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4607, allocations: 192 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.4607, allocations: 7.938 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4607, allocations: 4 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.4608, allocations: 39.92 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.4614, allocations: 432.6 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.4615, allocations: 45.25 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.4615, allocations: 25.75 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.4615, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4616, allocations: 38.56 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4616, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001689/0.4617, allocations: 53.48 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.4618, allocations: 77.11 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.462, allocations: 168.9 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.462, allocations: 29.7 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.462, allocations: 104 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.4621, allocations: 7.906 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.4621, allocations: 17.72 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4622, allocations: 318.8 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.4623, allocations: 4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.4623, allocations: 25.64 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.4623, allocations: 25.72 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4623, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.45e-05/0.4624, allocations: 65.53 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4624, allocations: 5.25 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4625, allocations: 3.938 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4625, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.4625, allocations: 4 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4626, allocations: 8.047 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.4626, allocations: 11.84 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.4626, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 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 7.905e-05/0.4627, allocations: 115.6 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.4627, allocations: 11.84 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.4628, allocations: 19.8 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.4628, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4628, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4628, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.4631, allocations: 474.8 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4632, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.4632, allocations: 7.938 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4632, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4632, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4632, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4632, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.486e-05/0.4633, allocations: 85.89 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.4634, allocations: 93 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4634, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.4634, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.4634, allocations: 4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.4634, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.316e-05/0.4635, allocations: 129.7 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4635, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001847/0.4637, allocations: 11.91 kB / 1.072 GB, free: 6.004 MB / 0.8262 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.0001354/0.4639, allocations: 99.19 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.464, allocations: 15.98 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.464, allocations: 7.938 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.464, allocations: 7.938 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.4642, allocations: 12.19 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.4645, allocations: 178.8 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.4648, allocations: 0.7002 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.4648, allocations: 4.438 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.4648, allocations: 11.44 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4648, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of Templates: time 0.002453/0.4673, allocations: 448.6 kB / 1.073 GB, free: 4.469 MB / 0.8262 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