Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.001487/0.001487, 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.001698/0.001699, allocations: 194.7 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.337/1.337, 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.333/2.333, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.5719, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001802/0.5737, allocations: 0.8117 MB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.217e-05/0.5739, allocations: 46.16 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.5739, allocations: 4 kB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.5739, allocations: 13.5 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.574, allocations: 7.875 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.055e-05/0.5741, allocations: 19.28 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.5742, allocations: 59.61 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.5743, allocations: 48.84 kB / 0.9507 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.5744, allocations: 24.19 kB / 0.9507 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.5744, allocations: 32.66 kB / 0.9508 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.5744, allocations: 10.38 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.5745, allocations: 6.125 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.5745, allocations: 13.28 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.5745, allocations: 30.36 kB / 0.9508 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.758e-05/0.5746, allocations: 75.73 kB / 0.9509 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5746, allocations: 4 kB / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5746, allocations: 0 / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.5746, allocations: 1.594 kB / 0.9509 GB, free: 8.242 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.0003115/0.575, allocations: 382.2 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.575, allocations: 8.406 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.518e-05/0.575, allocations: 37.56 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.5751, allocations: 10.47 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.5752, allocations: 197.5 kB / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5752, allocations: 3.906 kB / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.5752, allocations: 12.56 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.5754, allocations: 87.39 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5754, allocations: 3.938 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5754, allocations: 5.594 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5754, allocations: 2.094 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.5755, allocations: 38.95 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.5759, allocations: 441.4 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.5759, allocations: 36.78 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.576, allocations: 19.78 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.576, allocations: 5.25 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.576, allocations: 31.88 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.576, allocations: 0 / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001383/0.5761, allocations: 58.94 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.5762, allocations: 82.2 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.5763, allocations: 159.2 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.5763, allocations: 25.95 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.5763, allocations: 120.3 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.752e-06/0.5763, allocations: 4.969 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.5764, allocations: 18.09 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.5764, allocations: 324.9 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.5764, allocations: 10.94 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.5764, allocations: 22.56 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.5765, allocations: 26.16 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5765, allocations: 1.344 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.072e-05/0.5766, allocations: 63.03 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5766, allocations: 9.031 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.5766, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5766, allocations: 1.25 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.5767, allocations: 5.062 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5767, allocations: 1.188 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.5767, allocations: 11.08 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.5767, allocations: 1.438 kB / 0.9531 GB, free: 6.02 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.236e-05/0.5768, allocations: 112.8 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.5768, allocations: 11.59 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.5768, allocations: 6.875 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5768, allocations: 1.688 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5768, allocations: 3.938 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5769, allocations: 5.641 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.5771, allocations: 473.5 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5771, allocations: 3.984 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.5771, allocations: 7.031 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5772, allocations: 0.75 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.5772, allocations: 1.156 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5772, allocations: 0.8438 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5772, allocations: 1.625 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.42e-05/0.5772, allocations: 82.25 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.5773, allocations: 92.19 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.5773, allocations: 0 / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.5773, allocations: 0.9375 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.5773, allocations: 1.062 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5773, allocations: 1.094 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.252e-05/0.5774, allocations: 128.8 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5774, allocations: 4.031 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001902/0.5776, allocations: 12.03 kB / 0.954 GB, free: 5.066 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.000201/0.5778, allocations: 0.6074 MB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.5779, allocations: 26.8 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5779, allocations: 0 / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.5779, allocations: 9.125 kB / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.5781, allocations: 6.688 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.5789, allocations: 1.327 MB / 0.9559 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.579, allocations: 0.6979 MB / 0.9566 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.579, allocations: 4.469 kB / 0.9566 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.579, allocations: 27.39 kB / 0.9566 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5791, allocations: 0 / 0.9566 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.5953, allocations: 1.547 MB / 0.9581 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/8.078, allocations: 7.938 kB / 0.9581 GB, free: 1.605 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_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_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches