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.001696/0.001696, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.318/2.318, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5404, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001741/0.5422, allocations: 0.8238 MB / 0.9505 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.226e-05/0.5423, allocations: 32.8 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.5423, allocations: 1.5 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.5424, allocations: 12.88 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.5424, allocations: 7.875 kB / 0.9506 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.201e-05/0.5425, allocations: 24.47 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.5426, allocations: 55.62 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.5427, allocations: 44.92 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.5427, allocations: 26.81 kB / 0.9507 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.5428, allocations: 33.38 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.5428, allocations: 4.906 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.5428, allocations: 6.656 kB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.5429, allocations: 17.53 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.5429, allocations: 34.67 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.957e-05/0.543, allocations: 71.92 kB / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.543, allocations: 0 / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.543, allocations: 3.938 kB / 0.9509 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.543, allocations: 0 / 0.9509 GB, free: 8.293 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.0002957/0.5433, allocations: 386.7 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5433, allocations: 9.312 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.5434, allocations: 37.28 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.5434, allocations: 14 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.5435, allocations: 194.2 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.5436, allocations: 3.062 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.5436, allocations: 9.281 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.5437, allocations: 95.64 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5437, allocations: 3.938 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5437, allocations: 1.281 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5437, allocations: 2.25 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.5438, allocations: 39.05 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.5442, allocations: 441.1 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.5442, allocations: 37.09 kB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.5443, allocations: 19.84 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.5443, allocations: 1.875 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.5443, allocations: 38.59 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.5443, allocations: 0 / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.5444, allocations: 62.89 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.5445, allocations: 82.55 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.5446, allocations: 165 kB / 0.9525 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.5446, allocations: 25.7 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.5446, allocations: 108.6 kB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-06/0.5446, allocations: 8.969 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.5447, allocations: 17 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.5447, allocations: 325.9 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.5447, allocations: 2.844 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.5447, allocations: 23.75 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/0.5448, allocations: 29.22 kB / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5448, allocations: 4 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.895e-05/0.5449, allocations: 55.47 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5449, allocations: 9.375 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5449, allocations: 1.562 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5449, allocations: 4.062 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.545, allocations: 5.375 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.545, allocations: 4.844 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.545, allocations: 3.094 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.545, allocations: 5.359 kB / 0.9531 GB, free: 6.066 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.243e-05/0.5451, allocations: 116.5 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.5451, allocations: 11.62 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.5451, allocations: 11.69 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.5451, allocations: 0 / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5451, allocations: 5 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.5451, allocations: 1.406 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5454, allocations: 473.6 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5454, allocations: 5.422 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.5454, allocations: 2.688 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.5454, allocations: 0 / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.5454, allocations: 0.9375 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5454, allocations: 5.656 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5455, allocations: 0 / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.383e-05/0.5455, allocations: 79.66 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.5455, allocations: 91.72 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.5456, allocations: 4 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.5456, allocations: 1 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.5456, allocations: 4.844 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.5456, allocations: 1.406 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.5457, allocations: 120.1 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.51e-07/0.5457, allocations: 0 / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001888/0.5459, allocations: 10.97 kB / 0.954 GB, free: 5.117 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.0001924/0.5461, allocations: 0.6194 MB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.824e-05/0.5461, allocations: 18.7 kB / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5462, allocations: 0 / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.5462, allocations: 8.938 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.5463, allocations: 8.531 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.5471, allocations: 1.319 MB / 0.9559 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.508e-05/0.5472, allocations: 0.7033 MB / 0.9566 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.5472, allocations: 3.219 kB / 0.9566 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.5473, allocations: 27.27 kB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5473, allocations: 0.875 kB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.5623, allocations: 1.541 MB / 0.9581 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.825, allocations: 5.797 kB / 0.9581 GB, free: 1.66 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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