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 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.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.007497/0.007497, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001401/0.001401, allocations: 199.4 kB / 16.67 MB, free: 5.531 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.577/1.577, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.678/2.678, allocations: 472.6 MB / 0.7453 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 59.91 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.024, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002051/1.027, allocations: 0.8272 MB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/1.027, allocations: 47.78 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/1.027, allocations: 4 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/1.027, allocations: 7.875 kB / 1.227 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.145e-05/1.027, allocations: 11.86 kB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.443e-05/1.027, allocations: 19.98 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/1.027, allocations: 55.84 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/1.027, allocations: 43.94 kB / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/1.027, allocations: 27.8 kB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/1.028, allocations: 27.86 kB / 1.227 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/1.028, allocations: 4 kB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/1.028, allocations: 8 kB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/1.028, allocations: 19.91 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/1.028, allocations: 35.75 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/1.028, allocations: 75.16 kB / 1.227 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.028, allocations: 0 / 1.227 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.803e-06/1.028, allocations: 4 kB / 1.227 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.122e-06/1.028, allocations: 0 / 1.227 GB, free: 12.37 MB / 0.9512 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.0004624/1.028, allocations: 372.1 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001077/1.028, allocations: 12.03 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/1.028, allocations: 16.83 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/1.029, allocations: 196.2 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/1.029, allocations: 384 / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/1.029, allocations: 16.38 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/1.029, allocations: 93.2 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.029, allocations: 192 / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.029, allocations: 11.88 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.029, allocations: 4 kB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/1.029, allocations: 43.91 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/1.03, allocations: 432.8 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/1.03, allocations: 41.25 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/1.03, allocations: 17.78 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/1.03, allocations: 0 / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/1.03, allocations: 38.56 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.345e-06/1.03, allocations: 3.984 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/1.03, allocations: 61.52 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/1.03, allocations: 77.11 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/1.03, allocations: 156.7 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/1.03, allocations: 25.7 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/1.03, allocations: 108 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/1.03, allocations: 16.14 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/1.03, allocations: 21.67 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.03, allocations: 318.8 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/1.03, allocations: 4 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/1.03, allocations: 17.72 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/1.031, allocations: 29.64 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.031, allocations: 4 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.405e-05/1.031, allocations: 61.59 kB / 1.229 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.031, allocations: 4 kB / 1.229 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.031, allocations: 3.938 kB / 1.229 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.031, allocations: 4 kB / 1.229 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/1.031, allocations: 11.98 kB / 1.229 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.031, allocations: 0 / 1.229 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/1.031, allocations: 7.938 kB / 1.229 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/1.031, allocations: 0 / 1.229 GB, free: 9.922 MB / 0.9512 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 9.085e-05/1.031, allocations: 117.9 kB / 1.229 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/1.031, allocations: 7.953 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/1.031, allocations: 15.81 kB / 1.229 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/1.031, allocations: 0 / 1.229 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.031, allocations: 3.984 kB / 1.229 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/1.031, allocations: 0 / 1.229 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/1.031, allocations: 474.7 kB / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.032, allocations: 0 / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/1.032, allocations: 4 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.032, allocations: 0 / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/1.032, allocations: 0 / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.032, allocations: 7.938 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.032, allocations: 0 / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.055e-05/1.032, allocations: 89.88 kB / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/1.032, allocations: 85.06 kB / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/1.032, allocations: 0 / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/1.032, allocations: 0 / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/1.032, allocations: 7.984 kB / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/1.032, allocations: 0 / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.025e-05/1.032, allocations: 126.5 kB / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.683e-06/1.032, allocations: 0 / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001836/1.032, allocations: 11.94 kB / 1.23 GB, free: 8.875 MB / 0.9512 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.0001261/1.032, allocations: 103.3 kB / 1.23 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.931e-05/1.032, allocations: 15.94 kB / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.032, allocations: 4 kB / 1.23 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/1.032, allocations: 4 kB / 1.23 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/1.033, allocations: 11.94 kB / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/1.033, allocations: 170.8 kB / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/1.033, allocations: 0.6924 MB / 1.231 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.355e-05/1.033, allocations: 8.422 kB / 1.231 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/1.033, allocations: 11.44 kB / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/1.033, allocations: 0 / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of Templates: time 0.002642/1.036, allocations: 470.5 kB / 1.231 GB, free: 7.332 MB / 0.9512 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