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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, 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.001318/0.001318, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.262/2.262, allocations: 390.3 MB / 0.6644 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5477, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001705/0.5494, allocations: 0.8778 MB / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.775e-05/0.5495, allocations: 41.16 kB / 0.9501 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.5496, allocations: 5.312 kB / 0.9501 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.5496, allocations: 7.938 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.5497, allocations: 0 / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.615e-05/0.5497, allocations: 20.02 kB / 0.9502 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.5498, allocations: 60.59 kB / 0.9502 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.5499, allocations: 44.45 kB / 0.9503 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.55, allocations: 22.75 kB / 0.9503 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.55, allocations: 33.28 kB / 0.9503 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.55, allocations: 5.5 kB / 0.9503 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-06/0.5501, allocations: 5.5 kB / 0.9503 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.5501, allocations: 18.67 kB / 0.9503 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.5501, allocations: 34.62 kB / 0.9504 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.36e-05/0.5502, allocations: 70.33 kB / 0.9504 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5502, allocations: 1.375 kB / 0.9505 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5502, allocations: 0 / 0.9505 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5502, allocations: 4 kB / 0.9505 GB, free: 8.191 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.0002763/0.5505, allocations: 382.5 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5505, allocations: 9.625 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.5506, allocations: 45.48 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.5506, allocations: 12.91 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5507, allocations: 187.2 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5507, allocations: 3.125 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.5508, allocations: 13.81 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.5509, allocations: 95.05 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5509, allocations: 3.938 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.5509, allocations: 5.359 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5509, allocations: 2.75 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.551, allocations: 39.17 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.5513, allocations: 436.6 kB / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.58e-05/0.5514, allocations: 42 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.5514, allocations: 15.41 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.5514, allocations: 0 / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.5515, allocations: 43.8 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5515, allocations: 1.344 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.5516, allocations: 53.98 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.5516, allocations: 78.86 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.5517, allocations: 162.3 kB / 0.952 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-06/0.5517, allocations: 27.05 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.5518, allocations: 111.7 kB / 0.9521 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-06/0.5518, allocations: 9.344 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.5518, allocations: 17.91 kB / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.5519, allocations: 320.3 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.5519, allocations: 8.188 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.5519, allocations: 26.52 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.5519, allocations: 30.11 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5519, allocations: 0 / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.648e-05/0.552, allocations: 58.8 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.552, allocations: 9.531 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.552, allocations: 1 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.5521, allocations: 1.25 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.5521, allocations: 9.109 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5521, allocations: 5.359 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.5522, allocations: 1.094 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.5522, allocations: 2.875 kB / 0.9526 GB, free: 5.969 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 4.196e-05/0.5522, allocations: 116.6 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.5523, allocations: 12.06 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.5523, allocations: 14.8 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5523, allocations: 0 / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5523, allocations: 1.781 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.5523, allocations: 3.938 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.5526, allocations: 475 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5526, allocations: 0 / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.5526, allocations: 3 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5526, allocations: 1.75 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.5526, allocations: 4 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5526, allocations: 5.562 kB / 0.9532 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5526, allocations: 0 / 0.9532 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.415e-05/0.5527, allocations: 82.42 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.5527, allocations: 87.64 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.5527, allocations: 1.125 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.5527, allocations: 5.016 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.5528, allocations: 5.219 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.5528, allocations: 0.875 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.5528, allocations: 121.2 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5528, allocations: 3.938 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000185/0.553, allocations: 7.969 kB / 0.9535 GB, free: 5.016 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.0001899/0.5532, allocations: 0.6217 MB / 0.9541 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.988e-05/0.5533, allocations: 19.44 kB / 0.9542 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5533, allocations: 4.156 kB / 0.9542 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/0.5533, allocations: 3.844 kB / 0.9542 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.5535, allocations: 8.328 kB / 0.9542 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.5542, allocations: 1.349 MB / 0.9555 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.5543, allocations: 0.6944 MB / 0.9562 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.5544, allocations: 8.578 kB / 0.9562 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.5544, allocations: 23.41 kB / 0.9562 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5544, allocations: 4 kB / 0.9562 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009575/0.564, allocations: 1.461 MB / 0.9576 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.5641, allocations: 213.7 kB / 0.9578 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.197, allocations: 3.938 kB / 0.9578 GB, free: 1.391 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > 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/jenkins1/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