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.352/2.352, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001104/0.001104, allocations: 176.9 kB / 492.3 MB, free: 0.6055 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.632/1.632, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009947/0.0009945, allocations: 97.94 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.457e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3482, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.453, allocations: 148.7 MB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/1.453, allocations: 69.62 kB / 1.358 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00401/1.457, allocations: 1.085 MB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.457, allocations: 0.5 kB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.457, allocations: 0 / 1.359 GB, free: 34.73 MB / 0.8386 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.0002976/1.458, allocations: 367.2 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.458, allocations: 11.53 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/1.458, allocations: 39.45 kB / 1.359 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/1.458, allocations: 7.781 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/1.458, allocations: 183.5 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.458, allocations: 3.844 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/1.458, allocations: 7.281 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/1.458, allocations: 91.73 kB / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.458, allocations: 0 / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.458, allocations: 7.844 kB / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/1.458, allocations: 0 / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/1.458, allocations: 38.58 kB / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/1.459, allocations: 452.1 kB / 1.36 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/1.459, allocations: 36.72 kB / 1.36 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/1.459, allocations: 16.84 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/1.459, allocations: 4 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/1.459, allocations: 39.02 kB / 1.36 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.459, allocations: 3.938 kB / 1.36 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001771/1.459, allocations: 46.3 kB / 1.36 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.459, allocations: 78.75 kB / 1.36 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/1.459, allocations: 149.5 kB / 1.36 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/1.459, allocations: 33.52 kB / 1.36 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/1.459, allocations: 101 kB / 1.361 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/1.459, allocations: 15.72 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/1.459, allocations: 0 / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/1.46, allocations: 317.6 kB / 1.361 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/1.46, allocations: 6.844 kB / 1.361 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/1.46, allocations: 21.42 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/1.46, allocations: 12.58 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.46, allocations: 0.6094 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.715e-05/1.46, allocations: 61.27 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.46, allocations: 4.562 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.46, allocations: 0 / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.46, allocations: 5.156 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/1.46, allocations: 5.812 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.46, allocations: 0.7031 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/1.46, allocations: 19.06 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/1.46, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 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 () * 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 6.834e-05/1.46, allocations: 112.2 kB / 1.361 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/1.46, allocations: 7.75 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/1.46, allocations: 12.89 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.46, allocations: 3.906 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.46, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.46, allocations: 0.6562 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/1.461, allocations: 472 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.461, allocations: 0.875 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/1.461, allocations: 4.75 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.461, allocations: 4.547 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/1.461, allocations: 7.688 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.461, allocations: 4.453 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.461, allocations: 0 / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.492e-05/1.461, allocations: 89.31 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/1.461, allocations: 90.3 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/1.461, allocations: 4.562 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/1.461, allocations: 4.516 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/1.461, allocations: 0.5156 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/1.461, allocations: 0 / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.004e-05/1.461, allocations: 126.8 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.461, allocations: 0 / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00018/1.461, allocations: 15.7 kB / 1.362 GB, free: 31.94 MB / 0.8386 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 () * 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.0003759/1.461, allocations: 0.6973 MB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/1.462, allocations: 19.8 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.462, allocations: 0 / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-06/1.462, allocations: 3.781 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/1.462, allocations: 15.77 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/1.462, allocations: 132.3 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/1.462, allocations: 0.7003 MB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.224e-05/1.463, allocations: 6.781 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/1.463, allocations: 23.84 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.463, allocations: 0 / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/1.475, allocations: 1.44 MB / 1.365 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.476, allocations: 158 kB / 1.365 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/3.003, allocations: 2.109 kB / 1.365 GB, free: 30 MB / 0.8386 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