Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.047/2.047, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009258/0.0009261, allocations: 184.9 kB / 492.3 MB, free: 0.5898 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.305/1.305, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0007804/0.0007805, allocations: 95.88 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.014e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7372/0.9692, allocations: 149.6 MB / 1.359 GB, free: 18.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.9694, allocations: 76.47 kB / 1.359 GB, free: 18.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003216/0.9726, allocations: 1.112 MB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9726, allocations: 3.938 kB / 1.36 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9726, allocations: 3.812 kB / 1.36 GB, free: 34.31 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.0002735/0.9729, allocations: 335.6 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.973, allocations: 12.2 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.973, allocations: 38.12 kB / 1.36 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.973, allocations: 5.297 kB / 1.36 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.454e-05/0.9731, allocations: 168.1 kB / 1.36 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.9731, allocations: 0 / 1.36 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.9731, allocations: 0 / 1.36 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.9732, allocations: 39.55 kB / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.9732, allocations: 0 / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.9732, allocations: 0 / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.9732, allocations: 0 / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.9733, allocations: 15.42 kB / 1.36 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.9736, allocations: 271.9 kB / 1.361 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.363e-05/0.9736, allocations: 26.28 kB / 1.361 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.9737, allocations: 12.45 kB / 1.361 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-05/0.9738, allocations: 83.11 kB / 1.361 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.9738, allocations: 35.12 kB / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9738, allocations: 0 / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001185/0.9739, allocations: 48.67 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.974, allocations: 53.84 kB / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.974, allocations: 92.33 kB / 1.361 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-06/0.974, allocations: 25.7 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.9741, allocations: 88.2 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.9741, allocations: 8.641 kB / 1.361 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.9741, allocations: 4.031 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.9742, allocations: 316.1 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.9742, allocations: 7.438 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.9742, allocations: 3.938 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.705e-05/0.9742, allocations: 7.453 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9742, allocations: 0.7969 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.787e-05/0.9743, allocations: 49.62 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.9743, allocations: 5.031 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9743, allocations: 5.719 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.9743, allocations: 2.062 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.9744, allocations: 14.41 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.9744, allocations: 0 / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.9745, allocations: 6.391 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.9745, allocations: 0 / 1.361 GB, free: 32.57 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 4.432e-05/0.9746, allocations: 116.2 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.9746, allocations: 4 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.902e-05/0.9747, allocations: 55.84 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.9747, allocations: 0 / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9747, allocations: 3.984 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.9747, allocations: 0.75 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.9748, allocations: 158.1 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9748, allocations: 3.938 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.9749, allocations: 15.73 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.9749, allocations: 4.031 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.9749, allocations: 0 / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.9749, allocations: 0.6562 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9749, allocations: 0 / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.918e-05/0.975, allocations: 140.7 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.975, allocations: 81.77 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.9751, allocations: 4.844 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.9751, allocations: 13.88 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.9752, allocations: 5.125 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.9752, allocations: 4.547 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.9752, allocations: 83.66 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9752, allocations: 0 / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000206/0.9754, allocations: 12.44 kB / 1.362 GB, free: 31.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 (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.0003032/0.9757, allocations: 0.6761 MB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.179e-05/0.9758, allocations: 12.08 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.9758, allocations: 0 / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.9758, allocations: 15.5 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.976, allocations: 0.8438 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.9763, allocations: 99.12 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.9765, allocations: 0.6808 MB / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.9765, allocations: 0 / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.9765, allocations: 14.86 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of SimCode: time 8.92e-07/0.9765, allocations: 0 / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.9866, allocations: 1.144 MB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001148/0.9868, allocations: 150.3 kB / 1.365 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.353/2.34, allocations: 0 / 1.365 GB, free: 30.03 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat does not exist to compare? outputFormat=mat