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.004525/0.004525, allocations: 100.7 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 192.4 kB / 16.67 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.89 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2478, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001965/0.2498, allocations: 0.832 MB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001303/0.2499, allocations: 43.8 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.25, allocations: 4 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.2501, allocations: 11.86 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.2502, allocations: 11.86 kB / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.619e-05/0.2502, allocations: 15.98 kB / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2503, allocations: 59.84 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2505, allocations: 47.95 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.2505, allocations: 23.88 kB / 1.088 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.2506, allocations: 27.84 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.2506, allocations: 4 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.2506, allocations: 8 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.2507, allocations: 19.88 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.2507, allocations: 39.73 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.2508, allocations: 74.52 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2508, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2509, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.2509, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 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.0004124/0.2513, allocations: 380.1 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2513, allocations: 8.031 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.2514, allocations: 38.75 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2514, allocations: 16.75 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.2516, allocations: 200.1 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2516, allocations: 4.375 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2516, allocations: 8.375 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2518, allocations: 93.61 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2518, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2519, allocations: 4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2519, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.2519, allocations: 35.98 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.2525, allocations: 444.5 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.2525, allocations: 33.22 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.2526, allocations: 21.78 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2526, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2526, allocations: 34.59 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.2526, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.2528, allocations: 61.47 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2529, allocations: 77.11 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.253, allocations: 164.1 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.253, allocations: 25.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.2531, allocations: 104 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.2531, allocations: 11.84 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.2531, allocations: 13.72 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2532, allocations: 322.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.2533, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.2533, allocations: 17.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.2533, allocations: 29.66 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2534, allocations: 3.984 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.658e-05/0.2534, allocations: 57.61 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2535, allocations: 7.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2535, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2535, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.2536, allocations: 8 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2536, allocations: 11.98 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.2536, allocations: 11.84 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.2536, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 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 7.776e-05/0.2537, allocations: 113.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.2538, allocations: 11.84 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.2538, allocations: 11.88 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2538, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2538, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2538, allocations: 3.984 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.2542, allocations: 470.8 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2542, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.2542, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2543, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.2543, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2543, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2543, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.09e-05/0.2544, allocations: 89.83 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2544, allocations: 85.02 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2544, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.2545, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.2545, allocations: 3.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2545, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.823e-05/0.2546, allocations: 124.9 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.553e-06/0.2546, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002017/0.2548, allocations: 7.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 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.0003289/0.2551, allocations: 0.6209 MB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.2552, allocations: 23.98 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2552, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.2553, allocations: 7.938 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.2554, allocations: 11.91 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2566, allocations: 1.326 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2568, allocations: 0.6929 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.2568, allocations: 12.5 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.2569, allocations: 27.42 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2569, allocations: 0 / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.2741, allocations: 1.573 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.337, allocations: 3.625 kB / 1.096 GB, free: 8.867 MB / 0.8575 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