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/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.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00144/0.00144, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004257, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7462, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.0009883/0.7472, allocations: 0.5074 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.7473, allocations: 44.8 kB / 0.9544 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.7474, allocations: 1.344 kB / 0.9544 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.7474, allocations: 5.656 kB / 0.9544 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.7475, allocations: 3.938 kB / 0.9544 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.18e-05/0.7476, allocations: 19.27 kB / 0.9544 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.7477, allocations: 57.5 kB / 0.9545 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.7479, allocations: 26.41 kB / 0.9545 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.7479, allocations: 22.64 kB / 0.9545 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.748, allocations: 19.86 kB / 0.9545 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.748, allocations: 5.406 kB / 0.9546 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.748, allocations: 1.188 kB / 0.9546 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.748, allocations: 6.312 kB / 0.9546 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.7481, allocations: 37.14 kB / 0.9546 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.7482, allocations: 53.19 kB / 0.9546 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7482, allocations: 0 / 0.9546 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7482, allocations: 0 / 0.9546 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7482, allocations: 0 / 0.9546 GB, free: 7.449 MB / 0.7169 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.0003923/0.7486, allocations: 362.4 kB / 0.955 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7487, allocations: 16.92 kB / 0.955 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.7487, allocations: 41.03 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.7487, allocations: 16.45 kB / 0.9551 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.7489, allocations: 186.4 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.749, allocations: 6.25 kB / 0.9552 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.749, allocations: 8.75 kB / 0.9553 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.7491, allocations: 92.39 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7491, allocations: 1.062 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7492, allocations: 9 kB / 0.9554 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7492, allocations: 1.5 kB / 0.9554 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.7493, allocations: 43 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.7497, allocations: 438.4 kB / 0.9558 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.7498, allocations: 44.64 kB / 0.9559 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.7498, allocations: 20.56 kB / 0.9559 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.7499, allocations: 0 / 0.9559 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.7499, allocations: 32.03 kB / 0.9559 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7499, allocations: 0 / 0.9559 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.7501, allocations: 54.8 kB / 0.956 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.7501, allocations: 82.59 kB / 0.956 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.7502, allocations: 159 kB / 0.9562 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.7502, allocations: 25.7 kB / 0.9562 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.7503, allocations: 104.3 kB / 0.9563 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.7503, allocations: 13.06 kB / 0.9563 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.7503, allocations: 0 / 0.9563 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.888e-05/0.7504, allocations: 329.9 kB / 0.9566 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.7504, allocations: 2.656 kB / 0.9566 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.7504, allocations: 23.05 kB / 0.9567 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.7504, allocations: 12.03 kB / 0.9567 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7505, allocations: 1 kB / 0.9567 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.061e-05/0.7505, allocations: 50.77 kB / 0.9567 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7505, allocations: 10.39 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7506, allocations: 4.062 kB / 0.9567 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.7506, allocations: 1.312 kB / 0.9567 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.7506, allocations: 9.719 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7507, allocations: 1.25 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.7507, allocations: 1.125 kB / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.7507, allocations: 2.375 kB / 0.9568 GB, free: 5.289 MB / 0.7169 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 5.957e-05/0.7508, allocations: 117.4 kB / 0.9569 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.7508, allocations: 7.75 kB / 0.9569 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.7508, allocations: 14.45 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7508, allocations: 9.25 kB / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7509, allocations: 0 / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7509, allocations: 1.406 kB / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.7512, allocations: 473.5 kB / 0.9573 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7512, allocations: 1.406 kB / 0.9573 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.7512, allocations: 2.719 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.7512, allocations: 1.531 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.7512, allocations: 4.062 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7512, allocations: 1.5 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7512, allocations: 0 / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.067e-05/0.7513, allocations: 82.03 kB / 0.9574 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.7513, allocations: 93.3 kB / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.7513, allocations: 3.984 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.7514, allocations: 5.875 kB / 0.9575 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.7514, allocations: 4.031 kB / 0.9575 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.7514, allocations: 1.375 kB / 0.9575 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.7515, allocations: 123.3 kB / 0.9577 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7515, allocations: 0 / 0.9577 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001883/0.7517, allocations: 10.84 kB / 0.9577 GB, free: 4.328 MB / 0.7169 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.0002808/0.7519, allocations: 0.6172 MB / 0.9583 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.752, allocations: 14.78 kB / 0.9583 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.752, allocations: 0 / 0.9583 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.7521, allocations: 7.75 kB / 0.9583 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.7522, allocations: 6.375 kB / 0.9583 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007085/0.7529, allocations: 0.5563 MB / 0.9588 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.7531, allocations: 0.6907 MB / 0.9595 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.7531, allocations: 12.75 kB / 0.9595 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.7532, allocations: 19.03 kB / 0.9595 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7532, allocations: 0 / 0.9595 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.7647, allocations: 1.483 MB / 0.961 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.7648, allocations: 197.7 kB / 0.9612 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.535, allocations: 0 / 0.9612 GB, free: 1.57 MB / 0.7169 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