Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001451/0.001451, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001741/0.001741, allocations: 177.3 kB / 15.95 MB, free: 216 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.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.51/2.51, allocations: 390.3 MB / 0.6653 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 11.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8831, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0008835/0.8841, allocations: 0.5106 MB / 0.9541 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.8842, allocations: 41.02 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.8843, allocations: 1.156 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.8843, allocations: 4.969 kB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.8844, allocations: 12.97 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.062e-05/0.8844, allocations: 15.56 kB / 0.9542 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.8845, allocations: 31.12 kB / 0.9542 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.8847, allocations: 35.56 kB / 0.9542 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.8847, allocations: 16.89 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.8848, allocations: 19.48 kB / 0.9543 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.8848, allocations: 2.094 kB / 0.9543 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.8848, allocations: 1.281 kB / 0.9543 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.8848, allocations: 18.27 kB / 0.9543 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.8849, allocations: 36.95 kB / 0.9543 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.752e-05/0.8849, allocations: 53 kB / 0.9544 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.885, allocations: 3.938 kB / 0.9544 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.885, allocations: 0 / 0.9544 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.885, allocations: 0 / 0.9544 GB, free: 7.492 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.0003217/0.8853, allocations: 358.2 kB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.8853, allocations: 9.625 kB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.8854, allocations: 45.7 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.8854, allocations: 20.14 kB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.8856, allocations: 188.6 kB / 0.955 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.8856, allocations: 3.188 kB / 0.955 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.8857, allocations: 13.27 kB / 0.955 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.8858, allocations: 91.84 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8858, allocations: 0 / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.8858, allocations: 1.156 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8858, allocations: 2.188 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.8859, allocations: 43.88 kB / 0.9551 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.8864, allocations: 433.4 kB / 0.9555 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.8865, allocations: 41 kB / 0.9556 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.8865, allocations: 4 kB / 0.9556 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.8865, allocations: 36.5 kB / 0.9556 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8865, allocations: 0 / 0.9556 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001748/0.8867, allocations: 55.47 kB / 0.9557 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.8867, allocations: 81.05 kB / 0.9557 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.8869, allocations: 163.8 kB / 0.9559 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.792e-06/0.8869, allocations: 29.95 kB / 0.9559 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.8869, allocations: 108.1 kB / 0.956 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.8869, allocations: 13.09 kB / 0.956 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.887, allocations: 0 / 0.956 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.887, allocations: 329.4 kB / 0.9563 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.887, allocations: 3 kB / 0.9564 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.887, allocations: 18.16 kB / 0.9564 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.8871, allocations: 8.719 kB / 0.9564 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8871, allocations: 0 / 0.9564 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.883e-05/0.8872, allocations: 63.81 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8872, allocations: 5.156 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8872, allocations: 1.438 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8872, allocations: 1.094 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.8873, allocations: 5.219 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8873, allocations: 1.156 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.8873, allocations: 2.125 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.8873, allocations: 5.219 kB / 0.9565 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 6.061e-05/0.8874, allocations: 125.1 kB / 0.9566 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.8875, allocations: 8.781 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.8875, allocations: 10.22 kB / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8875, allocations: 1.094 kB / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8875, allocations: 0 / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8875, allocations: 1.156 kB / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.8878, allocations: 473.7 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8878, allocations: 1.094 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.8879, allocations: 11.23 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.8879, allocations: 1.562 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.8879, allocations: 0 / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8879, allocations: 0.7812 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8879, allocations: 1.094 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.937e-05/0.888, allocations: 92.17 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.888, allocations: 91.16 kB / 0.9572 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.888, allocations: 1.094 kB / 0.9572 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.8881, allocations: 5.062 kB / 0.9572 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.8881, allocations: 4.922 kB / 0.9573 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.8881, allocations: 1.094 kB / 0.9573 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.8882, allocations: 120.2 kB / 0.9574 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.6e-07/0.8882, allocations: 4.031 kB / 0.9574 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001944/0.8884, allocations: 10.84 kB / 0.9574 GB, free: 4.379 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.0002537/0.8886, allocations: 0.6895 MB / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.8887, allocations: 18.16 kB / 0.9581 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8888, allocations: 0 / 0.9581 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.8888, allocations: 16.73 kB / 0.9581 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.8889, allocations: 6.578 kB / 0.9581 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.8897, allocations: 0.6923 MB / 0.9588 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.8898, allocations: 0.6994 MB / 0.9595 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.8899, allocations: 12.78 kB / 0.9595 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.8899, allocations: 23.39 kB / 0.9595 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8899, allocations: 0 / 0.9595 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.9021, allocations: 1.473 MB / 0.9609 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.9023, allocations: 188.7 kB / 0.9611 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.553, allocations: 1.438 kB / 0.9611 GB, free: 1.387 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat does not exist to compare? outputFormat=mat