Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001508/0.001508, 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.001731/0.001731, allocations: 193.2 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.487/1.487, 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.287/2.287, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5436, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001767/0.5454, allocations: 0.8133 MB / 0.9505 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.144e-05/0.5455, allocations: 45.09 kB / 0.9506 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.5455, allocations: 5.625 kB / 0.9506 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.5456, allocations: 7.875 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.5456, allocations: 11.81 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.081e-05/0.5457, allocations: 15.39 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.5458, allocations: 65.34 kB / 0.9507 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.5459, allocations: 39.11 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.5459, allocations: 31.23 kB / 0.9507 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.546, allocations: 29.48 kB / 0.9508 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.546, allocations: 10.09 kB / 0.9508 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-06/0.546, allocations: 5.312 kB / 0.9508 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.546, allocations: 18.67 kB / 0.9508 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.5461, allocations: 34.61 kB / 0.9508 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.272e-05/0.5462, allocations: 70.33 kB / 0.9509 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5462, allocations: 1.375 kB / 0.9509 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5462, allocations: 0 / 0.9509 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5462, allocations: 0 / 0.9509 GB, free: 8.305 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.0002913/0.5465, allocations: 382.5 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.5465, allocations: 13.62 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.5466, allocations: 41.5 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.5466, allocations: 8.969 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.5467, allocations: 195.1 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.5467, allocations: 3.125 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.5468, allocations: 9.875 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.5469, allocations: 84.73 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5469, allocations: 7.875 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.5469, allocations: 9.062 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5469, allocations: 1.969 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.547, allocations: 37.14 kB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.5474, allocations: 432.8 kB / 0.9521 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.5474, allocations: 48.27 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.5474, allocations: 15.94 kB / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.5475, allocations: 0 / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.5475, allocations: 40.12 kB / 0.9522 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5475, allocations: 0 / 0.9522 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.5476, allocations: 59.06 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.5476, allocations: 82.55 kB / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5478, allocations: 164 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-06/0.5478, allocations: 25.7 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.5478, allocations: 108.8 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.5478, allocations: 7.891 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.5479, allocations: 17.78 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.5479, allocations: 328.4 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.5479, allocations: 8.109 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.5479, allocations: 18.06 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.548, allocations: 22.53 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.548, allocations: 1.531 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.77e-05/0.548, allocations: 62.25 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5481, allocations: 13.06 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5481, allocations: 1.281 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5481, allocations: 0 / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.5481, allocations: 9.562 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5482, allocations: 1.219 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.5482, allocations: 6.688 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.5482, allocations: 1.438 kB / 0.9531 GB, free: 6.082 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.385e-05/0.5483, allocations: 113.2 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.5483, allocations: 14.89 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.5483, allocations: 16.09 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5483, allocations: 0 / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5483, allocations: 1.219 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5483, allocations: 0 / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.5486, allocations: 470.5 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5486, allocations: 1.562 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.5486, allocations: 2.781 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5486, allocations: 4.062 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.5486, allocations: 5.484 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5487, allocations: 0 / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5487, allocations: 1.094 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.711e-05/0.5487, allocations: 86.7 kB / 0.9537 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.5488, allocations: 91.97 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.5488, allocations: 1.094 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.5488, allocations: 4.031 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.5488, allocations: 6.5 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.5488, allocations: 0 / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.5489, allocations: 121 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5489, allocations: 3.938 kB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001919/0.5491, allocations: 7.969 kB / 0.954 GB, free: 5.129 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.0002013/0.5493, allocations: 0.6155 MB / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.5494, allocations: 17.94 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5494, allocations: 1.344 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.5494, allocations: 6.891 kB / 0.9546 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.5495, allocations: 14.94 kB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.5504, allocations: 1.321 MB / 0.9559 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.509e-05/0.5505, allocations: 0.699 MB / 0.9566 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.5505, allocations: 8.891 kB / 0.9566 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.5505, allocations: 26.95 kB / 0.9566 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5505, allocations: 0 / 0.9566 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.5659, allocations: 1.549 MB / 0.9581 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.654, allocations: 4.688 kB / 0.9581 GB, free: 1.664 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches