Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",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.454/2.454, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001538/0.001538, allocations: 176 kB / 0.4901 GB, free: 2.254 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.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009486/0.0009487, allocations: 99.27 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 10.84 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.4402, allocations: 151.8 MB / 1.378 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.4406, allocations: 75.95 kB / 1.378 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02384/0.4645, allocations: 5.116 MB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.449e-06/0.4645, allocations: 0 / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.4646, allocations: 4 kB / 1.383 GB, free: 12.38 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.0008919/0.4655, allocations: 438.8 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.4655, allocations: 8.562 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.326e-05/0.4656, allocations: 42.5 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4668, allocations: 123.7 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.467, allocations: 175.6 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.4672, allocations: 67.41 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.4672, allocations: 8 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008416/0.4681, allocations: 193.4 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4681, allocations: 0 / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.4681, allocations: 7.891 kB / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4682, allocations: 4 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009849/0.4692, allocations: 197.2 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.4708, allocations: 0.4978 MB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.4724, allocations: 266.3 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.4725, allocations: 0 / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.4725, allocations: 38.69 kB / 1.385 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 2.083e-06/0.4725, allocations: 0 / 1.385 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.001684/0.4742, allocations: 317.5 kB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.4743, allocations: 51.41 kB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4745, allocations: 126.6 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.4745, allocations: 29.7 kB / 1.385 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.4746, allocations: 108.2 kB / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.4747, allocations: 23.64 kB / 1.385 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.4747, allocations: 0 / 1.385 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4749, allocations: 322.8 kB / 1.386 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.4753, allocations: 91.91 kB / 1.386 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.4759, allocations: 114.5 kB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.4763, allocations: 91.92 kB / 1.386 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4764, allocations: 7.938 kB / 1.386 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001098/0.4775, allocations: 233.4 kB / 1.386 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4775, allocations: 11.94 kB / 1.386 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4775, allocations: 0 / 1.386 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4776, allocations: 7.938 kB / 1.386 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.4779, allocations: 43.95 kB / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4779, allocations: 0 / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.4783, allocations: 35.92 kB / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.4783, allocations: 11.98 kB / 1.386 GB, free: 8.5 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.000145/0.4785, allocations: 113.8 kB / 1.386 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.4785, allocations: 7.906 kB / 1.386 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4797, allocations: 246.1 kB / 1.387 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4797, allocations: 0 / 1.387 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4797, allocations: 384 / 1.387 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4797, allocations: 0 / 1.387 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.4801, allocations: 246.1 kB / 1.387 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4802, allocations: 8 kB / 1.387 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.4805, allocations: 43.95 kB / 1.387 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.4805, allocations: 4 kB / 1.387 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4806, allocations: 0 / 1.387 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4806, allocations: 0 / 1.387 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4806, allocations: 0 / 1.387 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4817, allocations: 327.2 kB / 1.387 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.4818, allocations: 84.95 kB / 1.387 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.4818, allocations: 7.984 kB / 1.387 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.4823, allocations: 47.95 kB / 1.387 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.4824, allocations: 3.984 kB / 1.387 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.4824, allocations: 7.984 kB / 1.387 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001063/0.4825, allocations: 112.8 kB / 1.387 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.4825, allocations: 0 / 1.387 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004811/0.483, allocations: 27.91 kB / 1.387 GB, free: 7.145 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.001544/0.4846, allocations: 0.8458 MB / 1.388 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.4857, allocations: 199.8 kB / 1.388 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4857, allocations: 0 / 1.388 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.4862, allocations: 107.9 kB / 1.389 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.4866, allocations: 7.938 kB / 1.389 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.4882, allocations: 0.8035 MB / 1.389 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.4886, allocations: 0.7043 MB / 1.39 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.4888, allocations: 19.94 kB / 1.39 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.4889, allocations: 35.41 kB / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of SimCode: time 9.12e-07/0.4889, allocations: 3.938 kB / 1.39 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.5067, allocations: 2.39 MB / 1.392 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.5069, allocations: 170.2 kB / 1.393 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.127, allocations: 4.062 kB / 1.393 GB, free: 1.801 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat does not exist to compare? outputFormat=mat