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.006849/0.006849, allocations: 103 kB / 15.73 MB, free: 6.051 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.001686/0.001686, allocations: 194.1 kB / 16.67 MB, free: 5.98 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.94 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2407, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002007/0.2428, allocations: 0.8275 MB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.2429, allocations: 35.86 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.243, allocations: 11.88 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.243, allocations: 7.938 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/0.2431, allocations: 11.86 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.862e-05/0.2432, allocations: 19.98 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2433, allocations: 63.83 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.2434, allocations: 43.91 kB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.2435, allocations: 27.86 kB / 1.089 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.2436, allocations: 23.86 kB / 1.089 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2436, allocations: 4 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.2436, allocations: 8 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.2436, allocations: 19.92 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2437, allocations: 35.75 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2438, allocations: 78.44 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2438, allocations: 0 / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2438, allocations: 0 / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2438, allocations: 4 kB / 1.089 GB, free: 0.8008 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.0004075/0.2442, allocations: 376.1 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2443, allocations: 8.031 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.2443, allocations: 46.73 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.2444, allocations: 12.75 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.2446, allocations: 188.2 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.2446, allocations: 4.375 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2446, allocations: 8.375 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2448, allocations: 101.4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2448, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.2448, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2448, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.2449, allocations: 39.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.2454, allocations: 432.5 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.2455, allocations: 49.23 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.2455, allocations: 17.77 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.2455, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2456, allocations: 38.56 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2456, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001643/0.2458, allocations: 53.48 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2458, allocations: 77.11 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2459, allocations: 160.9 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.246, allocations: 25.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.246, allocations: 100 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.246, allocations: 11.84 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.2461, allocations: 21.95 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.2462, allocations: 322.8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.2462, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.2462, allocations: 25.64 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.2463, allocations: 21.72 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2463, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.716e-05/0.2464, allocations: 69.53 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2464, allocations: 7.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2464, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2464, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.2465, allocations: 8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2465, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.2466, allocations: 11.84 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.2466, allocations: 0 / 1.091 GB, free: 14.32 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.328e-05/0.2466, allocations: 113.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.2467, allocations: 15.91 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.2467, allocations: 15.86 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2467, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2468, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2468, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.2472, allocations: 470.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2472, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.2472, allocations: 8.062 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2472, allocations: 3.938 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2472, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2472, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2472, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.885e-05/0.2473, allocations: 77.83 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.2474, allocations: 89 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2474, allocations: 4.031 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.2474, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.2475, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.2475, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.299e-05/0.2476, allocations: 121.3 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2476, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001976/0.2478, allocations: 8 kB / 1.092 GB, free: 13.29 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.0003792/0.2482, allocations: 0.617 MB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.2483, allocations: 23.88 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2483, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.2483, allocations: 7.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.2485, allocations: 26 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2497, allocations: 1.328 MB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2499, allocations: 0.6929 MB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.25, allocations: 12.42 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.25, allocations: 23.44 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.25, allocations: 0 / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.2673, allocations: 1.575 MB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.296, allocations: 3.938 kB / 1.096 GB, free: 8.922 MB / 0.8575 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