Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001686/0.001686, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002447/0.002447, allocations: 187.2 kB / 16.25 MB, free: 6.645 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.473 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.655/2.655, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.8341, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002069/0.8362, allocations: 0.882 MB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.8364, allocations: 37.84 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.8364, allocations: 5.438 kB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.013e-05/0.8365, allocations: 7.922 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.8366, allocations: 4.938 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.548e-05/0.8366, allocations: 14.72 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.8367, allocations: 60.62 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.8369, allocations: 44.78 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.8369, allocations: 26.72 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.837, allocations: 28.73 kB / 0.9502 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.837, allocations: 10.34 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.837, allocations: 5.219 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.8371, allocations: 18.7 kB / 0.9502 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.8371, allocations: 35.2 kB / 0.9502 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.807e-05/0.8372, allocations: 74.77 kB / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8372, allocations: 0 / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8372, allocations: 0 / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.8372, allocations: 0 / 0.9503 GB, free: 8.168 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.0003611/0.8376, allocations: 378.7 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8376, allocations: 17.67 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.8377, allocations: 8.906 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.8379, allocations: 187 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.8379, allocations: 7.188 kB / 0.9509 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.8379, allocations: 8.953 kB / 0.9509 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.8381, allocations: 94.08 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8381, allocations: 192 / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8381, allocations: 9.297 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8381, allocations: 1.375 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.8382, allocations: 40.61 kB / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.8386, allocations: 436.5 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.8387, allocations: 41.28 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.8387, allocations: 19.22 kB / 0.9515 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.8388, allocations: 5.406 kB / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.8388, allocations: 35.92 kB / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8388, allocations: 0 / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.839, allocations: 54.11 kB / 0.9516 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.839, allocations: 82.48 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.8391, allocations: 164.8 kB / 0.9518 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.8391, allocations: 25.7 kB / 0.9519 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.8392, allocations: 113.4 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.8392, allocations: 3.906 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.8392, allocations: 21.78 kB / 0.952 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.8393, allocations: 321.6 kB / 0.9523 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.8393, allocations: 6.75 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.8393, allocations: 19.22 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.8394, allocations: 33.89 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8394, allocations: 0 / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.683e-05/0.8395, allocations: 51.48 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.8395, allocations: 5.5 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8395, allocations: 4 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8395, allocations: 5.375 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.8396, allocations: 13.42 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8396, allocations: 1.375 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.8397, allocations: 1.375 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.8397, allocations: 1.375 kB / 0.9524 GB, free: 6 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 5.671e-05/0.8397, allocations: 114 kB / 0.9525 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.8398, allocations: 8.031 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8398, allocations: 18.55 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.8398, allocations: 4 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8398, allocations: 1.375 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.8398, allocations: 1.375 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.8401, allocations: 474 kB / 0.953 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8401, allocations: 4 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.8402, allocations: 2.75 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8402, allocations: 1.375 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.8402, allocations: 1.688 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8402, allocations: 4 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8402, allocations: 0 / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/0.8403, allocations: 82.92 kB / 0.9531 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.8403, allocations: 92.8 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.8403, allocations: 0 / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.8403, allocations: 9.453 kB / 0.9532 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.8404, allocations: 5.219 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.8404, allocations: 0.75 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.8404, allocations: 120.2 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8405, allocations: 0 / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001993/0.8407, allocations: 7.062 kB / 0.9533 GB, free: 5.047 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 9.142e-05/0.8408, allocations: 100.2 kB / 0.9534 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.8408, allocations: 18.84 kB / 0.9535 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8409, allocations: 4.125 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.8409, allocations: 8.188 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.841, allocations: 11.84 kB / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.8413, allocations: 180.6 kB / 0.9537 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.8415, allocations: 0.6987 MB / 0.9543 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.8415, allocations: 8.297 kB / 0.9543 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.8415, allocations: 10.91 kB / 0.9544 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8415, allocations: 0 / 0.9544 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.002651/0.8442, allocations: 454.9 kB / 0.9548 GB, free: 3.809 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches