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.001498/0.001497, allocations: 106.3 kB / 16.41 MB, free: 6.5 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.001777/0.001777, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.347/1.347, 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.683/2.683, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8662, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002598/0.8689, allocations: 0.827 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002829/0.8692, allocations: 47.78 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.8693, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.482e-05/0.8694, allocations: 7.875 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.8696, allocations: 7.875 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.086e-05/0.8697, allocations: 19.98 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.8699, allocations: 67.83 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.8701, allocations: 43.91 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.8702, allocations: 27.92 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.8703, allocations: 27.8 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.8704, allocations: 8 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.8704, allocations: 4 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.8704, allocations: 23.86 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.8705, allocations: 31.75 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.8707, allocations: 71.7 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.8707, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8707, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.8707, allocations: 3.984 kB / 1.21 GB, free: 12.41 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.0007766/0.8715, allocations: 384.8 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.8716, allocations: 8.031 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.8716, allocations: 8.844 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.8719, allocations: 200.1 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.8719, allocations: 8.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.8719, allocations: 4.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.8721, allocations: 89.98 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.8721, allocations: 8.125 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.8722, allocations: 11.94 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.8722, allocations: 3.984 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.311e-05/0.8723, allocations: 31.98 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.8729, allocations: 436.7 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.873, allocations: 49.08 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.873, allocations: 21.84 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.873, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.8731, allocations: 34.5 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.8731, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002084/0.8733, allocations: 57.75 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.8733, allocations: 85.05 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.8735, allocations: 158.2 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.8735, allocations: 25.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.8736, allocations: 104 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-06/0.8736, allocations: 7.891 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.8737, allocations: 13.72 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8738, allocations: 318.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.8738, allocations: 12.02 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.8738, allocations: 21.72 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.8739, allocations: 21.72 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8739, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.137e-05/0.874, allocations: 57.53 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.874, allocations: 8 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.874, allocations: 8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.874, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.8741, allocations: 8 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8741, allocations: 4 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.8742, allocations: 7.844 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.8742, allocations: 7.875 kB / 1.212 GB, free: 9.973 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 7.62e-05/0.8743, allocations: 117.8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.8743, allocations: 7.906 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.8744, allocations: 11.81 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.8744, allocations: 4 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.8744, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8744, allocations: 4 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.8748, allocations: 470.8 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8748, allocations: 0 / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.8748, allocations: 4 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8748, allocations: 7.984 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.8749, allocations: 4.062 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8749, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8749, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.875, allocations: 81.78 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.875, allocations: 92.94 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.875, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.8751, allocations: 8.031 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.8751, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.8751, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.8752, allocations: 121.5 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8752, allocations: 0 / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002015/0.8754, allocations: 15.91 kB / 1.213 GB, free: 8.926 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.0001408/0.8756, allocations: 97.64 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.8757, allocations: 27.98 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8757, allocations: 0 / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.8757, allocations: 4 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.8759, allocations: 11.94 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.8762, allocations: 188.5 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.8765, allocations: 0.6965 MB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.8765, allocations: 11.44 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.8765, allocations: 0 / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.002549/0.8791, allocations: 0.8677 MB / 1.214 GB, free: 6.953 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/jenkins1/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