Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001265/0.001264, 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.001399/0.001399, allocations: 191.3 kB / 16.25 MB, free: 6.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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8715, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.003307/0.8748, allocations: 0.8687 MB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002091/0.8751, allocations: 45.38 kB / 0.95 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.8752, allocations: 5.344 kB / 0.95 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.334e-05/0.8753, allocations: 3.938 kB / 0.95 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.8754, allocations: 8.984 kB / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.876e-05/0.8755, allocations: 15.5 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.8756, allocations: 55.72 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.8758, allocations: 45.19 kB / 0.9501 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.8759, allocations: 26.83 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.876, allocations: 32.91 kB / 0.9502 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.876, allocations: 6.219 kB / 0.9502 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.876, allocations: 5.906 kB / 0.9502 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.8761, allocations: 18.7 kB / 0.9502 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.8761, allocations: 29.72 kB / 0.9502 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.8763, allocations: 83.69 kB / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8763, allocations: 0 / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.524e-06/0.8763, allocations: 0 / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.8763, allocations: 0 / 0.9503 GB, free: 8.137 MB / 0.7169 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.0005234/0.8768, allocations: 376 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.8769, allocations: 9.625 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.8769, allocations: 10.34 kB / 0.9507 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.8772, allocations: 193.8 kB / 0.9509 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.8772, allocations: 15.12 kB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.8772, allocations: 9.812 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.8774, allocations: 90.08 kB / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.8774, allocations: 192 / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.8775, allocations: 5.312 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.8775, allocations: 5.312 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.8776, allocations: 35.23 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.8782, allocations: 437.9 kB / 0.9515 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.556e-05/0.8783, allocations: 41.41 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.8783, allocations: 19.22 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.8783, allocations: 4 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.8784, allocations: 35.92 kB / 0.9515 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.8784, allocations: 3.938 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002285/0.8786, allocations: 55.28 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.8787, allocations: 82.42 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.8788, allocations: 163.4 kB / 0.9518 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.8789, allocations: 25.95 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.8789, allocations: 115.9 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.879, allocations: 5.281 kB / 0.952 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.879, allocations: 17.84 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.8791, allocations: 320.2 kB / 0.9523 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.8791, allocations: 4.125 kB / 0.9523 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.8791, allocations: 17.84 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.8792, allocations: 31.33 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8792, allocations: 0 / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.8793, allocations: 59.42 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.8793, allocations: 5.594 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8794, allocations: 3.938 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.8794, allocations: 1.75 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.8795, allocations: 9.047 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8795, allocations: 0 / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.8795, allocations: 6.438 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.8795, allocations: 1.312 kB / 0.9524 GB, free: 5.973 MB / 0.7169 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.546e-05/0.8796, allocations: 117.4 kB / 0.9525 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.8797, allocations: 8.188 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.8797, allocations: 14.44 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8797, allocations: 1.438 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8797, allocations: 0 / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8797, allocations: 5.203 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.8801, allocations: 478.6 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8801, allocations: 0 / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.8801, allocations: 10.91 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.8801, allocations: 1.719 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.8802, allocations: 0 / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8802, allocations: 1.156 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8802, allocations: 1.688 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.8803, allocations: 80.89 kB / 0.9531 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.8803, allocations: 92.73 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.8803, allocations: 5.375 kB / 0.9532 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.259e-05/0.8804, allocations: 4 kB / 0.9532 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.8804, allocations: 5.141 kB / 0.9532 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.8804, allocations: 1.469 kB / 0.9532 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.653e-05/0.8805, allocations: 122.2 kB / 0.9533 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8805, allocations: 4.031 kB / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00022/0.8807, allocations: 10.55 kB / 0.9534 GB, free: 5.008 MB / 0.7169 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.0001254/0.8809, allocations: 96.78 kB / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.881, allocations: 17.97 kB / 0.9535 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.881, allocations: 0 / 0.9535 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.881, allocations: 8.906 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.8812, allocations: 7.562 kB / 0.9535 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.8815, allocations: 186.9 kB / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.8817, allocations: 0.698 MB / 0.9543 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.8817, allocations: 9.828 kB / 0.9544 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.8817, allocations: 9.875 kB / 0.9544 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8817, allocations: 0 / 0.9544 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.002842/0.8846, allocations: 459 kB / 0.9548 GB, free: 3.773 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches