Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.001144/0.001144, allocations: 90.75 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.001521/0.001521, 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.426/1.426, allocations: 223.2 MB / 240 MB, free: 5.363 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.518/2.518, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7441/0.7445, allocations: 142.3 MB / 0.9538 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0008584/0.7454, allocations: 0.515 MB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.448e-05/0.7455, allocations: 41.12 kB / 0.9544 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.7455, allocations: 1.094 kB / 0.9544 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.7456, allocations: 5.062 kB / 0.9544 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.7456, allocations: 4 kB / 0.9544 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.584e-05/0.7457, allocations: 16.11 kB / 0.9544 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.7458, allocations: 61.31 kB / 0.9545 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.7459, allocations: 26.8 kB / 0.9545 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.746, allocations: 17.34 kB / 0.9545 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.746, allocations: 23.95 kB / 0.9545 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.7461, allocations: 2.438 kB / 0.9545 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.7461, allocations: 1.219 kB / 0.9545 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.7461, allocations: 10.66 kB / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.7461, allocations: 32.11 kB / 0.9546 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.35e-05/0.7462, allocations: 52.95 kB / 0.9546 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7462, allocations: 0 / 0.9546 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7462, allocations: 0 / 0.9546 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7462, allocations: 5.156 kB / 0.9546 GB, free: 7.441 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.000349/0.7466, allocations: 361.7 kB / 0.955 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7466, allocations: 9.562 kB / 0.955 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.7467, allocations: 45.73 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.7467, allocations: 23.39 kB / 0.9551 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.7469, allocations: 189.8 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.7469, allocations: 6.703 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.7469, allocations: 8.938 kB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.7471, allocations: 90.23 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7471, allocations: 0 / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.7471, allocations: 4.594 kB / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.7471, allocations: 2 kB / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.7472, allocations: 47.62 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.7476, allocations: 430.5 kB / 0.9558 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.7477, allocations: 44.86 kB / 0.9558 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.7477, allocations: 19.31 kB / 0.9559 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.7477, allocations: 0 / 0.9559 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.7478, allocations: 33.12 kB / 0.9559 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7478, allocations: 0 / 0.9559 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001644/0.7479, allocations: 54.52 kB / 0.9559 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.748, allocations: 85.34 kB / 0.956 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.7481, allocations: 155.6 kB / 0.9562 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.7481, allocations: 29.7 kB / 0.9562 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.7482, allocations: 104.3 kB / 0.9563 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.7482, allocations: 9.156 kB / 0.9563 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.7482, allocations: 1.188 kB / 0.9563 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.7482, allocations: 323.8 kB / 0.9566 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.7483, allocations: 7.469 kB / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.7483, allocations: 26.28 kB / 0.9567 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.7483, allocations: 9.438 kB / 0.9567 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7483, allocations: 0 / 0.9567 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.045e-05/0.7484, allocations: 59.36 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7484, allocations: 4.688 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7484, allocations: 1.125 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.7484, allocations: 3.984 kB / 0.9567 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.7485, allocations: 13.75 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.7485, allocations: 5.297 kB / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.7486, allocations: 6.219 kB / 0.9568 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.7486, allocations: 1.031 kB / 0.9568 GB, free: 5.27 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 6.915e-05/0.7486, allocations: 118 kB / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.7487, allocations: 12.12 kB / 0.9569 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.7487, allocations: 14.58 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7487, allocations: 0 / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7487, allocations: 0.9688 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7487, allocations: 5.281 kB / 0.9569 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.749, allocations: 473.5 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.749, allocations: 1.219 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.749, allocations: 2.906 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7491, allocations: 1.125 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.7491, allocations: 0 / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.7491, allocations: 1.188 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7491, allocations: 5.281 kB / 0.9574 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.342e-05/0.7491, allocations: 86.19 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.7492, allocations: 83.61 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.7492, allocations: 5.422 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.7492, allocations: 0 / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.7492, allocations: 1.219 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.7493, allocations: 9.531 kB / 0.9575 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.14e-05/0.7493, allocations: 127.8 kB / 0.9577 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7493, allocations: 0 / 0.9577 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001805/0.7495, allocations: 10.44 kB / 0.9577 GB, free: 4.309 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.0002547/0.7498, allocations: 0.6085 MB / 0.9583 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.7499, allocations: 17.84 kB / 0.9583 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7499, allocations: 0 / 0.9583 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.7499, allocations: 7.875 kB / 0.9583 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.7501, allocations: 8.188 kB / 0.9583 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.7507, allocations: 0.5538 MB / 0.9588 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.7508, allocations: 0.6952 MB / 0.9595 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.7509, allocations: 8.734 kB / 0.9595 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.7509, allocations: 22.06 kB / 0.9595 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7509, allocations: 1.281 kB / 0.9596 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.7619, allocations: 1.479 MB / 0.961 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001231/0.7621, allocations: 200.2 kB / 0.9612 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.46, allocations: 0 / 0.9612 GB, free: 1.562 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat does not exist to compare? outputFormat=mat