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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.003/2.003, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.0009573/0.0009572, allocations: 188.8 kB / 492.3 MB, free: 0.6094 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.293/1.293, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0008898/0.0008898, allocations: 85.84 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.792e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2308, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7072/0.9381, allocations: 149.3 MB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/0.9383, allocations: 68.97 kB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004242/0.9425, allocations: 1.352 MB / 1.36 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9426, allocations: 4.453 kB / 1.36 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.9426, allocations: 3.812 kB / 1.36 GB, free: 34.75 MB / 0.8386 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.0003302/0.9429, allocations: 348.3 kB / 1.36 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.943, allocations: 7.688 kB / 1.36 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.943, allocations: 31.27 kB / 1.36 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.9431, allocations: 8.531 kB / 1.36 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.63e-05/0.9432, allocations: 172.2 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.9432, allocations: 0 / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.9432, allocations: 3.875 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.9433, allocations: 35.64 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.9433, allocations: 0 / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.9433, allocations: 3.188 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.9433, allocations: 0 / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.9434, allocations: 19.31 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.9438, allocations: 276.4 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.9439, allocations: 22.7 kB / 1.361 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.9439, allocations: 10.73 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.344e-05/0.944, allocations: 87.02 kB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.944, allocations: 30.56 kB / 1.361 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.9441, allocations: 4 kB / 1.361 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.9442, allocations: 46.23 kB / 1.361 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.9442, allocations: 52.2 kB / 1.361 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.9443, allocations: 93.2 kB / 1.361 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.9443, allocations: 29.55 kB / 1.361 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.9444, allocations: 81.55 kB / 1.361 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.9444, allocations: 3.906 kB / 1.361 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.9444, allocations: 3.75 kB / 1.361 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.9445, allocations: 320 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.9445, allocations: 3.812 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.9445, allocations: 7.391 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.9446, allocations: 7.875 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9446, allocations: 0 / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.122e-05/0.9446, allocations: 46.69 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.9446, allocations: 3.875 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9447, allocations: 0 / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.9447, allocations: 0.7969 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.9448, allocations: 18.12 kB / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9448, allocations: 0 / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.9448, allocations: 14.69 kB / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.9449, allocations: 3.875 kB / 1.361 GB, free: 33 MB / 0.8386 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 (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 5.613e-05/0.9449, allocations: 105.6 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.9449, allocations: 0 / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.9451, allocations: 63.19 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.9451, allocations: 3.984 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9451, allocations: 1.844 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.9451, allocations: 0 / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.9452, allocations: 162.6 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9452, allocations: 0 / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.9453, allocations: 14.59 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.9453, allocations: 0 / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.9453, allocations: 0.5156 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9453, allocations: 4.031 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9453, allocations: 1.25 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.9454, allocations: 142.9 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.9455, allocations: 81.58 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.9455, allocations: 0.5625 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.9456, allocations: 9.125 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.9456, allocations: 12.36 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.9456, allocations: 3.594 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.9457, allocations: 83.42 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9457, allocations: 0 / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002078/0.9459, allocations: 22.11 kB / 1.362 GB, free: 32.31 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 (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.0003698/0.9463, allocations: 0.6842 MB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.855e-05/0.9464, allocations: 16.97 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9464, allocations: 0 / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.9464, allocations: 7.438 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.9466, allocations: 5.156 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.9468, allocations: 100.1 kB / 1.363 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.9471, allocations: 0.6807 MB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.9471, allocations: 3.344 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.9472, allocations: 13.72 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.9472, allocations: 0 / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.9575, allocations: 1.14 MB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001238/0.9576, allocations: 158.4 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.35/2.307, allocations: 6.609 kB / 1.365 GB, free: 30.44 MB / 0.8386 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