Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.00133/0.00133, allocations: 108 kB / 15.61 MB, free: 152 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.002152/0.002152, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.347/2.347, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 63.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.5614, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001825/0.5633, allocations: 0.8148 MB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.864e-05/0.5634, allocations: 45.34 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.5634, allocations: 1.406 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.5635, allocations: 11.86 kB / 0.9506 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.5635, allocations: 9.312 kB / 0.9506 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.153e-05/0.5636, allocations: 14.67 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.5637, allocations: 64.12 kB / 0.9507 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.5638, allocations: 44.72 kB / 0.9507 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.5639, allocations: 23.67 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.5639, allocations: 32.77 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.5639, allocations: 6.375 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.564, allocations: 6.469 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.564, allocations: 17.34 kB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.564, allocations: 35.25 kB / 0.9508 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.962e-05/0.5641, allocations: 75.08 kB / 0.9509 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5641, allocations: 3.938 kB / 0.9509 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5641, allocations: 0 / 0.9509 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.5641, allocations: 0 / 0.9509 GB, free: 8.223 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.000286/0.5644, allocations: 383.3 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5645, allocations: 10.12 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.5645, allocations: 40.55 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.5645, allocations: 8.906 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.5647, allocations: 190.9 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5647, allocations: 15.33 kB / 0.9515 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.5647, allocations: 6.125 kB / 0.9515 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.5648, allocations: 95.23 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5648, allocations: 3.938 kB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.5648, allocations: 8 kB / 0.9516 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5649, allocations: 3.281 kB / 0.9516 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.5649, allocations: 34.52 kB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.5653, allocations: 432.9 kB / 0.9521 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.5654, allocations: 41.81 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.5654, allocations: 22.95 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.5654, allocations: 1.312 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.5654, allocations: 31.69 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5654, allocations: 0 / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.5656, allocations: 59.92 kB / 0.9522 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.5656, allocations: 81.09 kB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5657, allocations: 163.5 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.5657, allocations: 25.7 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.5658, allocations: 108.4 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-06/0.5658, allocations: 9.156 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.5658, allocations: 17.55 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.5658, allocations: 325.7 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.5659, allocations: 11.55 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.5659, allocations: 17.89 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.402e-05/0.5659, allocations: 30.5 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5659, allocations: 0 / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.959e-05/0.566, allocations: 60.38 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.566, allocations: 13.28 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.566, allocations: 0 / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5661, allocations: 1.688 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.5661, allocations: 4.594 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.5661, allocations: 1.062 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.5662, allocations: 5.469 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.5662, allocations: 6.531 kB / 0.9531 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 4.357e-05/0.5662, allocations: 112.8 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.5663, allocations: 11.66 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.5663, allocations: 15.11 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5663, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.5663, allocations: 1.125 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5663, allocations: 0.9062 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.5666, allocations: 474.8 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5666, allocations: 0 / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.5666, allocations: 3.094 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5666, allocations: 5.469 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.5666, allocations: 0 / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5666, allocations: 1.312 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5666, allocations: 7.922 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.445e-05/0.5667, allocations: 74.94 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.5667, allocations: 95.44 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5667, allocations: 9.219 kB / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.5668, allocations: 1.406 kB / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-06/0.5668, allocations: 5.219 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.5668, allocations: 1.219 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.5668, allocations: 120.9 kB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5668, allocations: 0 / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001892/0.567, allocations: 6.438 kB / 0.954 GB, free: 5.051 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.0002086/0.5673, allocations: 0.6195 MB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.875e-05/0.5673, allocations: 18.56 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5673, allocations: 1.312 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.5674, allocations: 8.031 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.5675, allocations: 6.578 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.5683, allocations: 1.326 MB / 0.9559 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.75e-05/0.5684, allocations: 0.6987 MB / 0.9566 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.5684, allocations: 8.359 kB / 0.9566 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.5685, allocations: 23.38 kB / 0.9566 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5685, allocations: 0 / 0.9566 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.5847, allocations: 1.54 MB / 0.9581 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.202, allocations: 11.59 kB / 0.9581 GB, free: 1.59 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches