Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_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.004607/0.004607, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.00129/0.00129, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.91 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6762, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00197/0.6782, allocations: 0.8302 MB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.6783, allocations: 39.78 kB / 1.221 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.6784, allocations: 0 / 1.221 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.6784, allocations: 7.875 kB / 1.221 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.6785, allocations: 11.92 kB / 1.221 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.995e-05/0.6785, allocations: 19.98 kB / 1.221 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.6787, allocations: 63.78 kB / 1.221 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.6788, allocations: 47.86 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.6788, allocations: 23.86 kB / 1.221 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.6789, allocations: 23.86 kB / 1.221 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.6789, allocations: 12 kB / 1.221 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.679, allocations: 8 kB / 1.221 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.679, allocations: 15.92 kB / 1.221 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.679, allocations: 35.8 kB / 1.221 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.6792, allocations: 75.3 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6792, allocations: 0 / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6792, allocations: 0 / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.6792, allocations: 0 / 1.221 GB, free: 0.8242 MB / 0.9356 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.0004271/0.6796, allocations: 379.1 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6797, allocations: 19.97 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.6797, allocations: 42.73 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.6797, allocations: 12.84 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.68, allocations: 200.1 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.68, allocations: 8.375 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.68, allocations: 4.375 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.6802, allocations: 95.84 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6802, allocations: 7.938 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.6802, allocations: 4 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6802, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.6803, allocations: 39.92 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.6808, allocations: 428.7 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.6809, allocations: 45.28 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.6809, allocations: 29.83 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.681, allocations: 0 / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.681, allocations: 30.56 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.681, allocations: 0 / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.6812, allocations: 57.53 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.6812, allocations: 81.36 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.6814, allocations: 160.7 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.6814, allocations: 25.7 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.6815, allocations: 100.1 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.6815, allocations: 7.953 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.6815, allocations: 21.66 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6817, allocations: 318.8 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.6817, allocations: 7.938 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.6817, allocations: 25.7 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.6818, allocations: 25.72 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6818, allocations: 0 / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.066e-05/0.6819, allocations: 57.58 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6819, allocations: 14.12 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.6819, allocations: 3.938 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6819, allocations: 4.062 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.682, allocations: 4 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.682, allocations: 4 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.682, allocations: 3.938 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.6821, allocations: 4 kB / 1.224 GB, free: 14.32 MB / 0.9512 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.897e-05/0.6821, allocations: 112.9 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.6822, allocations: 11.98 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.6822, allocations: 19.84 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6822, allocations: 3.938 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6822, allocations: 8 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6823, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.6827, allocations: 474.7 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6827, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.6827, allocations: 7.938 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6827, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.6827, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6827, allocations: 8.062 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6828, allocations: 3.984 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.682e-05/0.6828, allocations: 77.89 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.6829, allocations: 89.05 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.6829, allocations: 4 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.683, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.683, allocations: 4.031 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.683, allocations: 0 / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001028/0.6831, allocations: 121.1 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6831, allocations: 3.938 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001989/0.6833, allocations: 8 kB / 1.224 GB, free: 13.27 MB / 0.9512 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.0003884/0.6837, allocations: 0.6177 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.511e-05/0.6838, allocations: 15.94 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6838, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.6838, allocations: 4 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.684, allocations: 11.92 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.6852, allocations: 1.335 MB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.6855, allocations: 0.6929 MB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.6856, allocations: 12.36 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.6856, allocations: 23.44 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.6856, allocations: 4 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.7068, allocations: 1.576 MB / 1.229 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.329, allocations: 15.45 kB / 1.229 GB, free: 8.902 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches