Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.264/2.264, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001455/0.001455, allocations: 183.9 kB / 0.4901 GB, free: 2.184 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.689/1.689, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.0009505/0.0009507, allocations: 92.27 kB / 0.9396 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003943, allocations: 11.2 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 143 MB / 1.229 GB, free: 85.31 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.5216, allocations: 149.3 MB / 1.375 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5219, allocations: 75.95 kB / 1.375 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.001421/0.5233, allocations: 0.5398 MB / 1.376 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5234, allocations: 0 / 1.376 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5234, allocations: 0 / 1.376 GB, free: 15.18 MB / 0.8855 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.0002978/0.5237, allocations: 316.5 kB / 1.376 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.5238, allocations: 12.5 kB / 1.376 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.5238, allocations: 34.5 kB / 1.376 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.5241, allocations: 19.97 kB / 1.376 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5242, allocations: 163 kB / 1.376 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5242, allocations: 0 / 1.376 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.5242, allocations: 0 / 1.376 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5244, allocations: 37.69 kB / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5244, allocations: 0 / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5244, allocations: 3.984 kB / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5244, allocations: 7.984 kB / 1.376 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.5245, allocations: 8 kB / 1.376 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.5247, allocations: 149.6 kB / 1.376 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.5248, allocations: 28.47 kB / 1.376 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.5248, allocations: 0 / 1.376 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.5249, allocations: 38.62 kB / 1.376 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5249, allocations: 0 / 1.376 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0002558/0.5251, allocations: 41.69 kB / 1.377 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.5252, allocations: 59.34 kB / 1.377 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.153e-05/0.5252, allocations: 92.92 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5253, allocations: 25.7 kB / 1.377 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.5253, allocations: 80.14 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.5253, allocations: 0 / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5254, allocations: 0 / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5255, allocations: 315 kB / 1.377 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.5256, allocations: 8 kB / 1.377 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.5256, allocations: 7.984 kB / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.828e-05/0.5257, allocations: 7.953 kB / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5257, allocations: 0 / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000125/0.5258, allocations: 45.58 kB / 1.377 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5258, allocations: 8.094 kB / 1.377 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5258, allocations: 0 / 1.377 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.5259, allocations: 4 kB / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.5259, allocations: 0 / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.526, allocations: 0 / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.526, allocations: 4 kB / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.526, allocations: 7.922 kB / 1.377 GB, free: 13.47 MB / 0.8855 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 () * Number of clocked 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 9.626e-05/0.5261, allocations: 113.7 kB / 1.377 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.5261, allocations: 0 / 1.377 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.5262, allocations: 11.12 kB / 1.377 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5262, allocations: 0 / 1.377 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5262, allocations: 0 / 1.377 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5262, allocations: 0 / 1.377 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.5264, allocations: 149.7 kB / 1.377 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5264, allocations: 3.953 kB / 1.377 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.5264, allocations: 4 kB / 1.377 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5264, allocations: 0 / 1.377 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5264, allocations: 4 kB / 1.377 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5265, allocations: 0 / 1.377 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5265, allocations: 4 kB / 1.377 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.5266, allocations: 69.11 kB / 1.377 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.5267, allocations: 81.06 kB / 1.378 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.5267, allocations: 0 / 1.378 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.5267, allocations: 4 kB / 1.378 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.5268, allocations: 3.938 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5268, allocations: 4.031 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.5268, allocations: 75.28 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5268, allocations: 0 / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002156/0.5271, allocations: 3.984 kB / 1.378 GB, free: 12.86 MB / 0.8855 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 () * Number of clocked 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.000519/0.5276, allocations: 0.6054 MB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.5278, allocations: 11.98 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5278, allocations: 0 / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.5278, allocations: 11.92 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.5279, allocations: 4 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.5284, allocations: 120.4 kB / 1.378 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.5287, allocations: 0.6731 MB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.5287, allocations: 4 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.5287, allocations: 7.438 kB / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5288, allocations: 0 / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.5408, allocations: 0.7544 MB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.541, allocations: 180.2 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.07, allocations: 3.25 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat does not exist to compare? outputFormat=mat