Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.418/2.418, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001286/0.001285, allocations: 172.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009055/0.0009053, allocations: 95.94 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.683e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8745/1.15, allocations: 149.6 MB / 1.365 GB, free: 4.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.151, allocations: 66.16 kB / 1.365 GB, free: 4.379 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002652/1.153, allocations: 1.087 MB / 1.366 GB, free: 3.418 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/1.153, allocations: 0 / 1.366 GB, free: 3.418 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.154, allocations: 4 kB / 1.366 GB, free: 3.414 MB / 0.823 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.0003276/1.154, allocations: 366.2 kB / 1.366 GB, free: 3.02 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.154, allocations: 8.031 kB / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/1.154, allocations: 37.88 kB / 1.366 GB, free: 2.969 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/1.154, allocations: 11.86 kB / 1.366 GB, free: 2.957 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.154, allocations: 178.8 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.154, allocations: 7.812 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/1.154, allocations: 7.188 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/1.154, allocations: 86.31 kB / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/1.154, allocations: 4 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/1.154, allocations: 3.25 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.154, allocations: 4 kB / 1.367 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/1.154, allocations: 34.44 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/1.155, allocations: 456.6 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/1.155, allocations: 41.28 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/1.155, allocations: 17.59 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/1.155, allocations: 4 kB / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/1.155, allocations: 38.55 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/1.155, allocations: 0 / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/1.155, allocations: 49.42 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/1.155, allocations: 77.11 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/1.156, allocations: 144.1 kB / 1.368 GB, free: 1.758 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/1.156, allocations: 25.7 kB / 1.368 GB, free: 1.727 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/1.156, allocations: 111.7 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/1.156, allocations: 3.906 kB / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/1.156, allocations: 0 / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/1.156, allocations: 326.6 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/1.156, allocations: 11.81 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/1.156, allocations: 17.34 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/1.156, allocations: 4 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.156, allocations: 7.938 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.867e-05/1.156, allocations: 60.34 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.156, allocations: 7.938 kB / 1.368 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.156, allocations: 4 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.156, allocations: 0 / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/1.156, allocations: 4 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.156, allocations: 3.984 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/1.156, allocations: 11.84 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/1.156, allocations: 3.469 kB / 1.368 GB, free: 1.168 MB / 0.823 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.365e-05/1.156, allocations: 113 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/1.156, allocations: 11.84 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/1.156, allocations: 6.281 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.156, allocations: 4 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.156, allocations: 0 / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.156, allocations: 0 / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/1.157, allocations: 476.1 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.157, allocations: 0 / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/1.157, allocations: 4 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.157, allocations: 0 / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/1.157, allocations: 7.812 kB / 1.369 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.157, allocations: 0 / 1.369 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.157, allocations: 4 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.002e-05/1.157, allocations: 95.31 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/1.157, allocations: 92.91 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/1.157, allocations: 0 / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/1.157, allocations: 0 / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/1.157, allocations: 3.984 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/1.157, allocations: 7.953 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.939e-05/1.157, allocations: 118.2 kB / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.157, allocations: 0 / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001741/1.157, allocations: 12.03 kB / 1.369 GB, free: 164 kB / 0.823 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.0003766/1.158, allocations: 0.6889 MB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.16e-05/1.158, allocations: 23.27 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.158, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/1.158, allocations: 7.938 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/1.158, allocations: 9.828 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/1.158, allocations: 137.7 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/1.158, allocations: 0.7007 MB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.951e-05/1.158, allocations: 8.422 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/1.159, allocations: 23.62 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.159, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/1.17, allocations: 1.439 MB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/1.171, allocations: 164.5 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.737, allocations: 6.047 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat does not exist to compare? outputFormat=mat