Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_10_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.004587/0.004591, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001097/0.001097, allocations: 191.1 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.257, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001961/0.259, allocations: 0.8388 MB / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.2592, allocations: 43.8 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.2592, allocations: 0 / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.2593, allocations: 7.875 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.2594, allocations: 11.92 kB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.121e-05/0.2594, allocations: 23.97 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2595, allocations: 63.78 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2597, allocations: 39.98 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.317e-05/0.2597, allocations: 27.86 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.2598, allocations: 27.8 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2598, allocations: 8 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.2598, allocations: 4 kB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2599, allocations: 19.92 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.2599, allocations: 31.81 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.26, allocations: 79.78 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.26, allocations: 4 kB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2601, allocations: 0 / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2601, allocations: 4 kB / 1.167 GB, free: 6.09 MB / 0.92 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.0004241/0.2605, allocations: 379.1 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2605, allocations: 8.031 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.2606, allocations: 42.73 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.2606, allocations: 16.83 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.2608, allocations: 192.2 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2609, allocations: 8.375 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2609, allocations: 4.375 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.2611, allocations: 99.88 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2611, allocations: 3.938 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2611, allocations: 4 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2611, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.2612, allocations: 39.92 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.2617, allocations: 432.6 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.2618, allocations: 49.22 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.2618, allocations: 21.83 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.2618, allocations: 4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2619, allocations: 30.56 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.2619, allocations: 4 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.2621, allocations: 53.53 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2621, allocations: 81.11 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2623, allocations: 159.8 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.2623, allocations: 29.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.2624, allocations: 100.1 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2624, allocations: 7.891 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.2624, allocations: 21.97 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2625, allocations: 318.8 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.2626, allocations: 4 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.2626, allocations: 25.7 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.2626, allocations: 21.72 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2626, allocations: 0 / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.785e-05/0.2627, allocations: 65.55 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2628, allocations: 15.92 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2628, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2628, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.2629, allocations: 4 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2629, allocations: 4 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.2629, allocations: 0 / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.2629, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.92 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.801e-05/0.263, allocations: 119.8 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.2631, allocations: 15.89 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.2631, allocations: 15.86 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2631, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2631, allocations: 3.938 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2631, allocations: 4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.2635, allocations: 474.7 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2635, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.2635, allocations: 4.062 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2635, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.2636, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2636, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2636, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.2636, allocations: 77.88 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.2637, allocations: 93.08 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2637, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.2638, allocations: 4 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.2638, allocations: 7.875 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.2638, allocations: 0 / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.572e-05/0.2639, allocations: 121.1 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2639, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001993/0.2641, allocations: 11.94 kB / 1.17 GB, free: 2.555 MB / 0.92 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.000389/0.2645, allocations: 0.6171 MB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.2646, allocations: 19.94 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2646, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.2646, allocations: 4.219 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2648, allocations: 13.88 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2659, allocations: 1.33 MB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.2662, allocations: 0.6967 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.2662, allocations: 12.42 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.2662, allocations: 27.36 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2663, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.2829, allocations: 1.569 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.416, allocations: 15.95 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches