Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.001092/0.001092, 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.001107/0.001107, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.335/2.335, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001593, allocations: 71.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5527, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001789/0.5545, allocations: 0.8109 MB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.946e-05/0.5546, allocations: 44.91 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.5547, allocations: 2.406 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.5547, allocations: 7.875 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.5548, allocations: 16.89 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.96e-05/0.5548, allocations: 22.77 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.366e-05/0.5549, allocations: 57.03 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.5551, allocations: 39.38 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.5551, allocations: 23.88 kB / 0.9507 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.5552, allocations: 36.31 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.5552, allocations: 6.031 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.5552, allocations: 6.312 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.5552, allocations: 18.83 kB / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.5553, allocations: 33.92 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.5553, allocations: 67.31 kB / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5553, allocations: 0 / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5554, allocations: 0 / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5554, allocations: 1.25 kB / 0.9509 GB, free: 8.277 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.0002915/0.5557, allocations: 385.4 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5557, allocations: 9.562 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.5557, allocations: 41.5 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.5558, allocations: 14.33 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5559, allocations: 193.8 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.5559, allocations: 3.125 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.5559, allocations: 9.875 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.5561, allocations: 91.33 kB / 0.9516 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5561, allocations: 7.938 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.5561, allocations: 9.297 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.5561, allocations: 1.375 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.051e-05/0.5562, allocations: 39.72 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.5566, allocations: 428.9 kB / 0.9521 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.5566, allocations: 45.38 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.5566, allocations: 15.91 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.5566, allocations: 0 / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.5567, allocations: 40.19 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5567, allocations: 0 / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.5568, allocations: 59.69 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.5568, allocations: 81.05 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.557, allocations: 164.5 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-06/0.557, allocations: 25.7 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.557, allocations: 112.2 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.271e-06/0.557, allocations: 5.594 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.557, allocations: 16.78 kB / 0.9526 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.5571, allocations: 333 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.5571, allocations: 3.312 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.5571, allocations: 17.88 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.5572, allocations: 27.2 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5572, allocations: 0 / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.052e-05/0.5573, allocations: 59.02 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5573, allocations: 13.59 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5573, allocations: 0 / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5573, allocations: 1.531 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.5574, allocations: 10.11 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5574, allocations: 0 / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.5574, allocations: 3.094 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.5574, allocations: 1.062 kB / 0.953 GB, free: 6.055 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.327e-05/0.5575, allocations: 116.4 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.5575, allocations: 11.94 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.5575, allocations: 15.06 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5575, allocations: 1.469 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5575, allocations: 3.984 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5575, allocations: 1.156 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.5578, allocations: 474.4 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5578, allocations: 0 / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.5578, allocations: 10.81 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.5578, allocations: 5.562 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.5579, allocations: 1.125 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5579, allocations: 0 / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.5579, allocations: 1.438 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.679e-05/0.5579, allocations: 81.77 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.558, allocations: 88.98 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.558, allocations: 4.031 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.558, allocations: 5.031 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.558, allocations: 5.234 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.558, allocations: 1.469 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.5581, allocations: 124.4 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5581, allocations: 0 / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001906/0.5583, allocations: 6.781 kB / 0.954 GB, free: 5.094 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.000206/0.5585, allocations: 0.6189 MB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.981e-05/0.5586, allocations: 18.56 kB / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5586, allocations: 0 / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.5586, allocations: 4.312 kB / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.5588, allocations: 12.33 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.5596, allocations: 1.322 MB / 0.9559 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.246e-05/0.5597, allocations: 0.7024 MB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.5597, allocations: 5 kB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.5597, allocations: 27.36 kB / 0.9566 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5597, allocations: 0 / 0.9566 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.5752, allocations: 1.549 MB / 0.9581 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.746, allocations: 7.922 kB / 0.9581 GB, free: 1.633 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_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_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches