Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.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.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",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.0009516/0.0009518, allocations: 100.1 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.000966/0.000966, allocations: 177.3 kB / 15.94 MB, free: 220 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.581/2.581, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8689, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001678/0.8706, allocations: 1.148 MB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003841/0.871, allocations: 181.9 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.8711, allocations: 1.438 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.8711, allocations: 0 / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.8712, allocations: 7.969 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.8714, allocations: 24.08 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.8715, allocations: 12.8 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.8716, allocations: 6.359 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.8716, allocations: 7.188 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.8717, allocations: 19.36 kB / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.8717, allocations: 1.406 kB / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.8718, allocations: 29.5 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.8718, allocations: 1.375 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.8718, allocations: 27.3 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.749e-05/0.8719, allocations: 26.53 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.8719, allocations: 0 / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8719, allocations: 1.188 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.8719, allocations: 0 / 0.955 GB, free: 6.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004063/0.8724, allocations: 352.1 kB / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.8724, allocations: 9.594 kB / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.8724, allocations: 35.94 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.8725, allocations: 8.891 kB / 0.9554 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.8726, allocations: 168.3 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.8726, allocations: 1.25 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.8726, allocations: 1.188 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.8728, allocations: 57.89 kB / 0.9556 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8728, allocations: 4 kB / 0.9556 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.8728, allocations: 0.8125 kB / 0.9556 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8728, allocations: 0 / 0.9556 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.873, allocations: 48.64 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.8733, allocations: 258.3 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.8735, allocations: 39.44 kB / 0.956 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/0.8735, allocations: 80.08 kB / 0.9561 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.8736, allocations: 38.55 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8736, allocations: 1.312 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003671/0.8739, allocations: 103.2 kB / 0.9562 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.874, allocations: 55.39 kB / 0.9562 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.874, allocations: 100.1 kB / 0.9563 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.8741, allocations: 26.73 kB / 0.9564 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.8741, allocations: 81.33 kB / 0.9564 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.8741, allocations: 12.89 kB / 0.9565 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.8741, allocations: 0 / 0.9565 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.8742, allocations: 316.3 kB / 0.9568 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.8743, allocations: 21.86 kB / 0.9568 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.8744, allocations: 22.64 kB / 0.9568 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.8745, allocations: 25.91 kB / 0.9568 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8745, allocations: 0 / 0.9568 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.8747, allocations: 74.52 kB / 0.9569 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.8747, allocations: 5.688 kB / 0.9569 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8747, allocations: 3.938 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.8747, allocations: 5.438 kB / 0.9569 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.8748, allocations: 16.16 kB / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8748, allocations: 0 / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.8749, allocations: 10.36 kB / 0.9569 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.8749, allocations: 1.125 kB / 0.9569 GB, free: 4.984 MB / 0.7169 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 6.256e-05/0.875, allocations: 107 kB / 0.957 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.875, allocations: 4.844 kB / 0.957 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.8752, allocations: 89.42 kB / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8753, allocations: 0 / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8753, allocations: 5.391 kB / 0.9571 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8753, allocations: 0 / 0.9571 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.8754, allocations: 163.3 kB / 0.9573 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8754, allocations: 3.984 kB / 0.9573 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.8755, allocations: 20.42 kB / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8755, allocations: 0 / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.8755, allocations: 0 / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8755, allocations: 1.188 kB / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8755, allocations: 0 / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.8757, allocations: 181.5 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.8758, allocations: 78.45 kB / 0.9576 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.8758, allocations: 0 / 0.9576 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.8759, allocations: 11.17 kB / 0.9576 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.8759, allocations: 5.125 kB / 0.9576 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.8759, allocations: 4 kB / 0.9576 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.8759, allocations: 84.16 kB / 0.9577 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.81e-07/0.876, allocations: 0 / 0.9577 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000223/0.8762, allocations: 20.81 kB / 0.9577 GB, free: 4.227 MB / 0.7169 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.0004512/0.8766, allocations: 0.7175 MB / 0.9584 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.8769, allocations: 47.06 kB / 0.9584 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8769, allocations: 0 / 0.9584 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.877, allocations: 28.12 kB / 0.9585 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.8772, allocations: 5.938 kB / 0.9585 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.8776, allocations: 144.6 kB / 0.9586 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.8778, allocations: 0.6789 MB / 0.9593 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.8778, allocations: 2.031 kB / 0.9593 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.8779, allocations: 12.44 kB / 0.9593 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8779, allocations: 0 / 0.9593 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.8902, allocations: 1.169 MB / 0.9604 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.8904, allocations: 181.2 kB / 0.9606 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.494, allocations: 0 / 0.9606 GB, free: 1.844 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat does not exist to compare? outputFormat=mat