Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks",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.23/2.23, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001086/0.001086, allocations: 171.4 kB / 498.1 MB, free: 5.742 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.536/1.536, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.0009159/0.0009159, allocations: 96.27 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004414, allocations: 13.31 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2867, allocations: 142.3 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.4854, allocations: 151.1 MB / 1.37 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4857, allocations: 75.95 kB / 1.371 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.5014, allocations: 5.116 MB / 1.376 GB, free: 13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5015, allocations: 0 / 1.376 GB, free: 13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.5015, allocations: 4 kB / 1.376 GB, free: 12.99 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006522/0.5022, allocations: 436.5 kB / 1.376 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5022, allocations: 12.03 kB / 1.376 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.5023, allocations: 34.56 kB / 1.376 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/0.503, allocations: 127.6 kB / 1.376 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5032, allocations: 171 kB / 1.376 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.5033, allocations: 71.31 kB / 1.376 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.5034, allocations: 15.92 kB / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.5039, allocations: 195.5 kB / 1.377 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.504, allocations: 3.938 kB / 1.377 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.504, allocations: 3.953 kB / 1.377 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.504, allocations: 0 / 1.377 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.5047, allocations: 195.8 kB / 1.377 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.5059, allocations: 0.5018 MB / 1.377 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.507, allocations: 266.3 kB / 1.377 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.507, allocations: 4.125 kB / 1.377 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5071, allocations: 34.55 kB / 1.378 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5071, allocations: 0 / 1.378 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.001054/0.5081, allocations: 313.5 kB / 1.378 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5082, allocations: 55.41 kB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5083, allocations: 126.5 kB / 1.378 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.5084, allocations: 29.7 kB / 1.378 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.5085, allocations: 104.2 kB / 1.378 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.5085, allocations: 27.72 kB / 1.378 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.5085, allocations: 0 / 1.378 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5087, allocations: 322.8 kB / 1.378 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.509, allocations: 91.91 kB / 1.379 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.5093, allocations: 110.5 kB / 1.379 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.5096, allocations: 95.86 kB / 1.379 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5096, allocations: 4 kB / 1.379 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006774/0.5103, allocations: 237.7 kB / 1.379 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5104, allocations: 4 kB / 1.379 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5104, allocations: 0 / 1.379 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5104, allocations: 4 kB / 1.379 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.5107, allocations: 43.95 kB / 1.379 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5107, allocations: 4 kB / 1.379 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.5109, allocations: 43.83 kB / 1.379 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.5109, allocations: 11.92 kB / 1.379 GB, free: 9.113 MB / 0.8855 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 () * Number of clocked 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 0.0001159/0.5111, allocations: 117.8 kB / 1.379 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.5111, allocations: 7.906 kB / 1.379 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/0.5118, allocations: 242.2 kB / 1.379 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5118, allocations: 0 / 1.379 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5119, allocations: 0 / 1.379 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5119, allocations: 0 / 1.379 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.5121, allocations: 234.4 kB / 1.38 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5121, allocations: 0 / 1.38 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.5124, allocations: 43.95 kB / 1.38 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5124, allocations: 0 / 1.38 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.5124, allocations: 4 kB / 1.38 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5124, allocations: 0 / 1.38 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5124, allocations: 0 / 1.38 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.5132, allocations: 327.1 kB / 1.38 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.5132, allocations: 89 kB / 1.38 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.5133, allocations: 0 / 1.38 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.5136, allocations: 47.95 kB / 1.38 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.5136, allocations: 4 kB / 1.38 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.5137, allocations: 8.172 kB / 1.38 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.93e-05/0.5138, allocations: 112.8 kB / 1.38 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5138, allocations: 0 / 1.38 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002631/0.514, allocations: 31.84 kB / 1.38 GB, free: 7.773 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 (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.001041/0.5151, allocations: 0.8526 MB / 1.381 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006669/0.5158, allocations: 199.8 kB / 1.381 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5158, allocations: 0 / 1.381 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.5161, allocations: 99.98 kB / 1.381 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.5164, allocations: 8 kB / 1.381 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5175, allocations: 0.811 MB / 1.382 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5178, allocations: 0.7043 MB / 1.383 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.5179, allocations: 16.16 kB / 1.383 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.518, allocations: 35.42 kB / 1.383 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.518, allocations: 0 / 1.383 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.5336, allocations: 2.384 MB / 1.385 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.5339, allocations: 179.7 kB / 1.385 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.235, allocations: 0 / 1.385 GB, free: 2.418 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat does not exist to compare? outputFormat=mat