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.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.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.0009881/0.0009881, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001167/0.001166, allocations: 168.7 kB / 15.95 MB, free: 204 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.422 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.477/2.477, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004859, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8066/0.8071, allocations: 142.3 MB / 0.9539 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.0009049/0.808, allocations: 0.5118 MB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.916e-05/0.8081, allocations: 40.97 kB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.8082, allocations: 5.344 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.8082, allocations: 7.922 kB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.808e-05/0.8083, allocations: 1.469 kB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.75e-05/0.8083, allocations: 14.55 kB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.8084, allocations: 54.7 kB / 0.9545 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.8085, allocations: 33.48 kB / 0.9545 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.8086, allocations: 18.5 kB / 0.9545 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.8086, allocations: 23.02 kB / 0.9545 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.8087, allocations: 2.281 kB / 0.9545 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-06/0.8087, allocations: 1.781 kB / 0.9545 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.8087, allocations: 9.953 kB / 0.9546 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.8087, allocations: 33.08 kB / 0.9546 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.32e-05/0.8088, allocations: 56.06 kB / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8088, allocations: 1.375 kB / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8088, allocations: 0 / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.8088, allocations: 0 / 0.9546 GB, free: 7.52 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.0002804/0.8091, allocations: 366 kB / 0.955 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8091, allocations: 8.75 kB / 0.955 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.8092, allocations: 45.58 kB / 0.955 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.8092, allocations: 15.92 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.8094, allocations: 194.1 kB / 0.9552 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.8094, allocations: 3.469 kB / 0.9552 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.8094, allocations: 11.94 kB / 0.9553 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.8095, allocations: 94.48 kB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8095, allocations: 3.984 kB / 0.9554 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.8096, allocations: 5.031 kB / 0.9554 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8096, allocations: 2.938 kB / 0.9554 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.8096, allocations: 38.88 kB / 0.9554 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.8101, allocations: 442 kB / 0.9558 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/0.8101, allocations: 32.97 kB / 0.9558 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.8102, allocations: 18.75 kB / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.8102, allocations: 4.969 kB / 0.9559 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.8102, allocations: 40.14 kB / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8102, allocations: 0 / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001372/0.8103, allocations: 50.86 kB / 0.956 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.8104, allocations: 82.3 kB / 0.956 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8105, allocations: 158.2 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-06/0.8105, allocations: 26.98 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.8105, allocations: 108.8 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.8106, allocations: 8.094 kB / 0.9563 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.8106, allocations: 5.219 kB / 0.9563 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.8106, allocations: 324.3 kB / 0.9566 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.8106, allocations: 8.25 kB / 0.9566 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.8106, allocations: 13.41 kB / 0.9567 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.8107, allocations: 8.75 kB / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8107, allocations: 1.094 kB / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.299e-05/0.8108, allocations: 62.5 kB / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.8108, allocations: 5.375 kB / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8108, allocations: 3.938 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.8108, allocations: 1.125 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.8109, allocations: 10.38 kB / 0.9567 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.8109, allocations: 0 / 0.9567 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.8109, allocations: 5.922 kB / 0.9568 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.8109, allocations: 2.5 kB / 0.9568 GB, free: 5.352 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 4.866e-05/0.811, allocations: 120.3 kB / 0.9569 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.811, allocations: 11.97 kB / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.811, allocations: 6.656 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.811, allocations: 1.469 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8111, allocations: 5.188 kB / 0.9569 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.8111, allocations: 0 / 0.9569 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.8113, allocations: 478.5 kB / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8113, allocations: 0 / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.8114, allocations: 10.94 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8114, allocations: 0.9062 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.8114, allocations: 0.9688 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8114, allocations: 1.094 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8114, allocations: 1.094 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.351e-05/0.8115, allocations: 81.69 kB / 0.9574 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.8115, allocations: 88.55 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.8115, allocations: 5.219 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.8115, allocations: 0 / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.8116, allocations: 1.219 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.8116, allocations: 1.188 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.8116, allocations: 124.2 kB / 0.9577 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8116, allocations: 0 / 0.9577 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000188/0.8118, allocations: 14.81 kB / 0.9577 GB, free: 4.395 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.0002305/0.8121, allocations: 0.6072 MB / 0.9583 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.262e-05/0.8122, allocations: 22.92 kB / 0.9583 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8122, allocations: 0 / 0.9583 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.8122, allocations: 8.125 kB / 0.9583 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.8123, allocations: 11.05 kB / 0.9583 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007587/0.8131, allocations: 0.5512 MB / 0.9588 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.8133, allocations: 0.69 MB / 0.9595 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.8133, allocations: 13.11 kB / 0.9595 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.8133, allocations: 23.53 kB / 0.9595 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8133, allocations: 4.062 kB / 0.9596 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.8257, allocations: 1.489 MB / 0.961 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.8259, allocations: 197.7 kB / 0.9612 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.511, allocations: 0 / 0.9612 GB, free: 1.633 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat does not exist to compare? outputFormat=mat