Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep",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.303/2.303, 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.001255/0.001255, allocations: 192.4 kB / 487.4 MB, free: 5.047 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.464/1.464, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.0008981/0.0008982, allocations: 98.08 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.159e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8757/1.117, allocations: 147.8 MB / 1.35 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/1.118, allocations: 76.83 kB / 1.35 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001705/1.119, allocations: 0.5379 MB / 1.351 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.119, allocations: 0 / 1.351 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.959e-06/1.119, allocations: 0 / 1.351 GB, free: 33.94 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002016/1.12, allocations: 312.4 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.12, allocations: 7.688 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/1.12, allocations: 14.84 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.836e-05/1.12, allocations: 164.3 kB / 1.351 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/1.12, allocations: 0 / 1.351 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/1.12, allocations: 7.578 kB / 1.351 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.068e-05/1.12, allocations: 4.797 kB / 1.351 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.652e-05/1.12, allocations: 35.91 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.12, allocations: 0.6094 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/1.12, allocations: 0 / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.12, allocations: 3.938 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.815e-05/1.12, allocations: 131.2 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/1.12, allocations: 21.91 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/1.12, allocations: 9.562 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/1.12, allocations: 0 / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/1.12, allocations: 31.08 kB / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/1.12, allocations: 0 / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000113/1.12, allocations: 39.12 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/1.12, allocations: 54.75 kB / 1.352 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.619e-05/1.12, allocations: 85 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/1.121, allocations: 26.41 kB / 1.352 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/1.121, allocations: 84.17 kB / 1.352 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/1.121, allocations: 0.7812 kB / 1.352 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.121, allocations: 0 / 1.352 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/1.121, allocations: 311.6 kB / 1.352 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/1.121, allocations: 3.844 kB / 1.352 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/1.121, allocations: 0.7031 kB / 1.352 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.401e-05/1.121, allocations: 2.297 kB / 1.352 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.121, allocations: 0 / 1.352 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.766e-05/1.121, allocations: 43.28 kB / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.121, allocations: 3.875 kB / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.121, allocations: 0 / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.121, allocations: 0.6094 kB / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/1.121, allocations: 9.188 kB / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/1.121, allocations: 0 / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/1.121, allocations: 9.281 kB / 1.352 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.121, allocations: 0 / 1.352 GB, free: 32.45 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 (1): * Single equations (assignments): 1 * 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.473e-05/1.121, allocations: 106.5 kB / 1.352 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 3.881e-05/1.121, allocations: 39.16 kB / 1.352 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/1.121, allocations: 4.641 kB / 1.352 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/1.121, allocations: 7.172 kB / 1.352 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.121, allocations: 0 / 1.352 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.121, allocations: 1.312 kB / 1.352 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.121, allocations: 0 / 1.352 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.153e-05/1.121, allocations: 124.5 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.121, allocations: 0 / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/1.121, allocations: 5.344 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.121, allocations: 7.984 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/1.121, allocations: 0.7969 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.121, allocations: 3.844 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.121, allocations: 0 / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.87e-05/1.121, allocations: 58.91 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/1.121, allocations: 81.75 kB / 1.353 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/1.121, allocations: 8.625 kB / 1.353 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/1.121, allocations: 8.766 kB / 1.353 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/1.121, allocations: 0.7969 kB / 1.353 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.121, allocations: 0 / 1.353 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.796e-05/1.121, allocations: 75.28 kB / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.121, allocations: 0 / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000177/1.122, allocations: 3.844 kB / 1.353 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 (1): * Single equations (assignments): 1 * 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.0003163/1.122, allocations: 0.5912 MB / 1.353 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.43e-05/1.122, allocations: 8.484 kB / 1.353 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.122, allocations: 0 / 1.353 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-06/1.122, allocations: 4.641 kB / 1.353 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.337e-05/1.122, allocations: 3.953 kB / 1.353 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/1.122, allocations: 72.33 kB / 1.354 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/1.123, allocations: 0.6794 MB / 1.354 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.406e-05/1.123, allocations: 0 / 1.354 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/1.123, allocations: 8.141 kB / 1.354 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.123, allocations: 0 / 1.354 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/1.141, allocations: 472.2 kB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/1.141, allocations: 136.7 kB / 1.355 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/2.546, allocations: 0 / 1.355 GB, free: 30.26 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat does not exist to compare? outputFormat=mat