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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 173.2 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.1 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009779, allocations: 110.4 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 11.03 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3476, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.5377, allocations: 148.8 MB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.538, allocations: 67.95 kB / 1.368 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00265/0.5406, allocations: 1.079 MB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5407, allocations: 0 / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.5407, allocations: 4 kB / 1.369 GB, free: 12.01 MB / 0.8698 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.000414/0.5411, allocations: 371 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5412, allocations: 12.03 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.5413, allocations: 42.56 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.5413, allocations: 11.86 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.5415, allocations: 182.8 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5416, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.5416, allocations: 8 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.5417, allocations: 92.95 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5418, allocations: 0 / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5418, allocations: 4 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5418, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.5419, allocations: 39.92 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.5425, allocations: 452.5 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.571e-05/0.5426, allocations: 41.34 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.5426, allocations: 0 / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.5426, allocations: 30.56 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.5426, allocations: 0 / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001992/0.5428, allocations: 61.59 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.5429, allocations: 77.33 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.543, allocations: 144 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.5431, allocations: 33.64 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.5432, allocations: 107.9 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.5432, allocations: 0 / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.5432, allocations: 0 / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5433, allocations: 335 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.5433, allocations: 8 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.5434, allocations: 21.7 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.5434, allocations: 4 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5434, allocations: 4 kB / 1.371 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.087e-05/0.5435, allocations: 57.55 kB / 1.371 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5435, allocations: 4 kB / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5435, allocations: 8 kB / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.5436, allocations: 4 kB / 1.371 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.5437, allocations: 7.984 kB / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5437, allocations: 0 / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.5437, allocations: 7.906 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.5438, allocations: 8.078 kB / 1.371 GB, free: 9.625 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/0.5439, allocations: 117.7 kB / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.5439, allocations: 11.89 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.544, allocations: 15.88 kB / 1.372 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.544, allocations: 7.984 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.544, allocations: 0 / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.544, allocations: 0 / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.5444, allocations: 474.8 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5444, allocations: 0 / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.5444, allocations: 4 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5444, allocations: 0 / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5444, allocations: 4.062 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5445, allocations: 4 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5445, allocations: 0 / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.972e-05/0.5446, allocations: 95.5 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.5446, allocations: 89 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.5446, allocations: 0 / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.5447, allocations: 4.031 kB / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.5447, allocations: 4 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.5447, allocations: 3.938 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.849e-05/0.5448, allocations: 127.2 kB / 1.372 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5448, allocations: 0 / 1.372 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001819/0.545, allocations: 11.91 kB / 1.372 GB, free: 8.551 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004279/0.5454, allocations: 0.6951 MB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.59e-05/0.5455, allocations: 16 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5455, allocations: 0 / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.5455, allocations: 7.938 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.5457, allocations: 17.78 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.5466, allocations: 0.6936 MB / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.5469, allocations: 0.6965 MB / 1.374 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.5469, allocations: 8.422 kB / 1.374 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.547, allocations: 23.44 kB / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.547, allocations: 0 / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.5604, allocations: 1.473 MB / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.5606, allocations: 181 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.035, allocations: 0 / 1.376 GB, free: 4.684 MB / 0.8698 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat does not exist to compare? outputFormat=mat