Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",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.306/2.306, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001336/0.001336, allocations: 180.8 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.0009813/0.0009812, allocations: 103.2 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 6.875 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2695, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.4449, allocations: 150.1 MB / 1.376 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4452, allocations: 75.95 kB / 1.376 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004095/0.4493, allocations: 1.363 MB / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4494, allocations: 0 / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4494, allocations: 0 / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003978/0.4498, allocations: 353.9 kB / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4498, allocations: 8.562 kB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.4499, allocations: 38.56 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.4499, allocations: 7.906 kB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4501, allocations: 163 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4501, allocations: 4 kB / 1.378 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.4501, allocations: 0 / 1.378 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.4503, allocations: 57.61 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4503, allocations: 0 / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.4503, allocations: 0 / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4503, allocations: 0 / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.4505, allocations: 47.95 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.4509, allocations: 276.9 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4511, allocations: 42.5 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.455e-05/0.4512, allocations: 81.17 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4512, allocations: 34.55 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4512, allocations: 0 / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003589/0.4516, allocations: 93.66 kB / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.4516, allocations: 51.41 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.4517, allocations: 109.1 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4517, allocations: 25.7 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.4518, allocations: 88.05 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.4518, allocations: 0 / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.4518, allocations: 4 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4519, allocations: 318.8 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.452, allocations: 23.92 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.4521, allocations: 23.98 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.4522, allocations: 15.98 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4522, allocations: 4 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.4524, allocations: 81.62 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4524, allocations: 4 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4525, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4525, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.4526, allocations: 15.92 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4526, allocations: 15.95 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.4526, allocations: 11.98 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4527, allocations: 3.953 kB / 1.379 GB, free: 15.66 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.115e-05/0.4527, allocations: 109.8 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.4528, allocations: 0 / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.453, allocations: 88.72 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.453, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.453, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.453, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.4532, allocations: 165.6 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4532, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.4533, allocations: 16.02 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4533, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.4533, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4533, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4533, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.4536, allocations: 187.3 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.4537, allocations: 77.11 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.4537, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.4538, allocations: 11.98 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.4538, allocations: 3.984 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4538, allocations: 0 / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.4539, allocations: 87.53 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4539, allocations: 4.031 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002353/0.4541, allocations: 19.94 kB / 1.38 GB, free: 14.81 MB / 0.8855 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 () * 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.0005916/0.4547, allocations: 0.7249 MB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.4549, allocations: 43.97 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4549, allocations: 96 / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.455, allocations: 31.97 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.4552, allocations: 4 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.4557, allocations: 146.2 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.4559, allocations: 0.681 MB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.456, allocations: 0 / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.456, allocations: 15.44 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of SimCode: time 7.514e-06/0.456, allocations: 0 / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.4681, allocations: 1.144 MB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.4684, allocations: 189.2 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.055, allocations: 1 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat does not exist to compare? outputFormat=mat