Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Average",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.091/2.091, allocations: 390.3 MB / 402.8 MB, free: 6.734 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.0009484/0.0009482, allocations: 184.9 kB / 496.1 MB, free: 12.89 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.374/1.374, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0007998/0.0007999, allocations: 87.95 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.033e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7553/1.01, allocations: 150.2 MB / 1.366 GB, free: 3.836 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/1.011, allocations: 70.52 kB / 1.366 GB, free: 3.797 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003059/1.014, allocations: 1.119 MB / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.61e-07/1.014, allocations: 0 / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.014, allocations: 5.969 kB / 1.367 GB, free: 2.777 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000408/1.014, allocations: 378.6 kB / 1.367 GB, free: 2.367 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.014, allocations: 12.03 kB / 1.367 GB, free: 2.355 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/1.014, allocations: 37.86 kB / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/1.014, allocations: 6.625 kB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/1.014, allocations: 191.3 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/1.014, allocations: 8 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/1.014, allocations: 0 / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/1.015, allocations: 72.67 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.015, allocations: 0 / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/1.015, allocations: 7.25 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/1.015, allocations: 0 / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/1.015, allocations: 30 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/1.015, allocations: 340.8 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.418e-05/1.015, allocations: 35.27 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/1.015, allocations: 16.36 kB / 1.368 GB, free: 1.574 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/1.015, allocations: 7.984 kB / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/1.015, allocations: 38.64 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.015, allocations: 0 / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.000152/1.016, allocations: 62.86 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/1.016, allocations: 51.41 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/1.016, allocations: 103.2 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/1.016, allocations: 25.7 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/1.016, allocations: 95.47 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/1.016, allocations: 15.34 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.016, allocations: 0 / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/1.016, allocations: 322.1 kB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/1.016, allocations: 7.5 kB / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/1.016, allocations: 11.12 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/1.016, allocations: 11.44 kB / 1.369 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/1.016, allocations: 0 / 1.369 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.218e-05/1.016, allocations: 56.53 kB / 1.369 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.016, allocations: 7.984 kB / 1.369 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.016, allocations: 11.94 kB / 1.369 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/1.016, allocations: 3.953 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/1.016, allocations: 19.98 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.016, allocations: 0 / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.139e-05/1.016, allocations: 19.55 kB / 1.369 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.016, allocations: 0 / 1.369 GB, free: 0.707 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.164e-05/1.016, allocations: 105 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/1.016, allocations: 11.89 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/1.017, allocations: 65.95 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.017, allocations: 3.938 kB / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.017, allocations: 8.828 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/1.017, allocations: 0 / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/1.017, allocations: 174.3 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.017, allocations: 0 / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/1.017, allocations: 27.92 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.017, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/1.017, allocations: 7.938 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.017, allocations: 0 / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.017, allocations: 0 / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/1.017, allocations: 157.9 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/1.017, allocations: 85.02 kB / 1.369 GB, free: 8 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/1.017, allocations: 7.375 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.017, allocations: 16.36 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/1.017, allocations: 3.984 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/1.017, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.073e-05/1.017, allocations: 95.39 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.017, allocations: 0 / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002061/1.018, allocations: 11.12 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003855/1.018, allocations: 0.7028 MB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.357e-05/1.018, allocations: 33.67 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.018, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/1.018, allocations: 19.88 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/1.018, allocations: 4 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/1.019, allocations: 143.4 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/1.019, allocations: 0.6926 MB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.843e-05/1.019, allocations: 4 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/1.019, allocations: 19.3 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.019, allocations: 0 / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/1.03, allocations: 1.454 MB / 1.372 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.031, allocations: 150.8 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.698, allocations: 0 / 1.373 GB, free: 12.65 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Average.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Average_res.mat does not exist to compare? outputFormat=mat