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.261/2.261, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001097/0.001097, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.546/1.546, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009401, allocations: 89.64 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.054e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9129/1.204, allocations: 148.9 MB / 1.351 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.204, allocations: 74.36 kB / 1.352 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003674/1.208, allocations: 1.104 MB / 1.353 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.163e-06/1.208, allocations: 0 / 1.353 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.523e-06/1.208, allocations: 3.719 kB / 1.353 GB, free: 33.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003096/1.208, allocations: 338.6 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.208, allocations: 11.72 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/1.208, allocations: 4.688 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/1.208, allocations: 168.5 kB / 1.353 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.208, allocations: 4 kB / 1.353 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/1.208, allocations: 0 / 1.353 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.829e-05/1.208, allocations: 15.78 kB / 1.353 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.522e-05/1.208, allocations: 35.19 kB / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/1.208, allocations: 0 / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/1.208, allocations: 0 / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/1.209, allocations: 0 / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/1.209, allocations: 246.6 kB / 1.353 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/1.209, allocations: 26.38 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/1.209, allocations: 16.61 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.209, allocations: 87.05 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/1.209, allocations: 31.22 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.209, allocations: 0 / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/1.209, allocations: 50.09 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/1.209, allocations: 55.25 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/1.209, allocations: 95.8 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/1.209, allocations: 26.5 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/1.21, allocations: 84.69 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/1.21, allocations: 12.2 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.21, allocations: 0 / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.21, allocations: 316.1 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/1.21, allocations: 10.72 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/1.21, allocations: 4.562 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/1.21, allocations: 12.23 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.21, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001147/1.21, allocations: 60.58 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.21, allocations: 5.953 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/1.21, allocations: 3.875 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.21, allocations: 0.6094 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/1.21, allocations: 15.66 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.21, allocations: 4.641 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/1.21, allocations: 9.734 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.21, allocations: 0.5625 kB / 1.354 GB, free: 32.17 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 6.108e-05/1.21, allocations: 104.9 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001224/1.21, allocations: 50.73 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/1.21, allocations: 4.734 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/1.211, allocations: 64.08 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.211, allocations: 0.5625 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.211, allocations: 0 / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.211, allocations: 0 / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/1.211, allocations: 139.1 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.211, allocations: 4.688 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/1.211, allocations: 14.42 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.211, allocations: 3.875 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/1.211, allocations: 4.781 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.211, allocations: 3.984 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.211, allocations: 0 / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/1.211, allocations: 153.7 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/1.211, allocations: 78.16 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/1.211, allocations: 2.109 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/1.211, allocations: 16.73 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/1.211, allocations: 2.578 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/1.211, allocations: 0.6094 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.527e-05/1.211, allocations: 82.77 kB / 1.355 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.211, allocations: 0 / 1.355 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002122/1.211, allocations: 11.05 kB / 1.355 GB, free: 31.48 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.0004271/1.212, allocations: 0.6817 MB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.906e-05/1.212, allocations: 15.52 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.212, allocations: 0 / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/1.212, allocations: 11.48 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/1.212, allocations: 0.5625 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/1.212, allocations: 93.94 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/1.213, allocations: 0.6849 MB / 1.356 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.606e-05/1.213, allocations: 0.5625 kB / 1.356 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/1.213, allocations: 11.95 kB / 1.356 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.213, allocations: 0 / 1.356 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/1.232, allocations: 0.8257 MB / 1.357 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/1.233, allocations: 143.5 kB / 1.357 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/2.68, allocations: 0 / 1.357 GB, free: 29.76 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