Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",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.021/2.021, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001013/0.001013, allocations: 176.9 kB / 496.1 MB, free: 12.86 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.262/1.262, 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.0008392/0.0008392, allocations: 95.94 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.027e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7203/0.9361, allocations: 151.8 MB / 1.367 GB, free: 2.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.9363, allocations: 75.39 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.951, allocations: 5.11 MB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9511, allocations: 4 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.9511, allocations: 0 / 1.372 GB, free: 13.84 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005426/0.9516, allocations: 405.9 kB / 1.373 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.9517, allocations: 20.02 kB / 1.373 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.9518, allocations: 36.62 kB / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006608/0.9524, allocations: 122.8 kB / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.9526, allocations: 187.5 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.727e-05/0.9527, allocations: 62.59 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.9527, allocations: 8 kB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.953, allocations: 116.4 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.953, allocations: 0 / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.953, allocations: 7.953 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.953, allocations: 4 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.9532, allocations: 79.27 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.9542, allocations: 0.4933 MB / 1.374 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.9548, allocations: 170.8 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.9549, allocations: 43.05 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.9549, allocations: 3.984 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.955, allocations: 37.94 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/0.955, allocations: 0 / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002385/0.9552, allocations: 101.2 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.9553, allocations: 58.14 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.9554, allocations: 131 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.9554, allocations: 32.95 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.9555, allocations: 111.5 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.9555, allocations: 18.69 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.9555, allocations: 0 / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9556, allocations: 322.7 kB / 1.375 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.9557, allocations: 31 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.9558, allocations: 58.67 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.9559, allocations: 34.11 kB / 1.375 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9559, allocations: 4 kB / 1.375 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001985/0.9561, allocations: 120.4 kB / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.9561, allocations: 4 kB / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9561, allocations: 0 / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.9561, allocations: 4 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.9564, allocations: 47.95 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.9564, allocations: 7.953 kB / 1.375 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.9566, allocations: 35.89 kB / 1.375 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.9566, allocations: 0 / 1.375 GB, free: 11.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.987e-05/0.9567, allocations: 112.7 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.9567, allocations: 7.906 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.957, allocations: 116.6 kB / 1.375 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.957, allocations: 4 kB / 1.375 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.957, allocations: 0 / 1.375 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.957, allocations: 7.938 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.9572, allocations: 236 kB / 1.375 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9573, allocations: 4 kB / 1.375 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.9575, allocations: 43.89 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9575, allocations: 0 / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.9575, allocations: 3.984 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9575, allocations: 192 / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9575, allocations: 4.156 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.9578, allocations: 209.5 kB / 1.376 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.9578, allocations: 92.86 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.9578, allocations: 0 / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.9581, allocations: 47.27 kB / 1.376 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.9582, allocations: 7.984 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.9582, allocations: 7.984 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.178e-05/0.9583, allocations: 104 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9583, allocations: 0 / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002269/0.9585, allocations: 23.44 kB / 1.376 GB, free: 10.02 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 (6): * Single equations (assignments): 6 * 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.000467/0.959, allocations: 0.7438 MB / 1.377 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.9592, allocations: 83.05 kB / 1.377 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9592, allocations: 0 / 1.377 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.9592, allocations: 46.48 kB / 1.377 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.9594, allocations: 7.875 kB / 1.377 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.9599, allocations: 180 kB / 1.377 GB, free: 9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.9601, allocations: 0.7084 MB / 1.378 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.562e-05/0.9602, allocations: 19.88 kB / 1.378 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.9603, allocations: 32.48 kB / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/0.9603, allocations: 0 / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.9721, allocations: 2.408 MB / 1.38 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.9723, allocations: 162.5 kB / 1.38 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.3/2.273, allocations: 0 / 1.38 GB, free: 5.711 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat does not exist to compare? outputFormat=mat