Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",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.317/2.317, 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.001081/0.001081, allocations: 179.3 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.596/1.596, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0008493/0.0008493, allocations: 101.6 kB / 0.9346 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 15.83 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2796, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.4649, allocations: 148.8 MB / 1.368 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4653, allocations: 71.95 kB / 1.368 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002226/0.4675, allocations: 0.8058 MB / 1.369 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4675, allocations: 0 / 1.369 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4675, allocations: 4 kB / 1.369 GB, free: 3.602 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004722/0.468, allocations: 367.2 kB / 1.369 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4681, allocations: 8.031 kB / 1.369 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.4681, allocations: 34.56 kB / 1.37 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.4681, allocations: 3.906 kB / 1.37 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4683, allocations: 175 kB / 1.37 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4683, allocations: 4 kB / 1.37 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.4683, allocations: 0 / 1.37 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.4686, allocations: 83.62 kB / 1.37 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4686, allocations: 0 / 1.37 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4686, allocations: 4 kB / 1.37 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4686, allocations: 3.984 kB / 1.37 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.4689, allocations: 91.86 kB / 1.37 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.4695, allocations: 300.9 kB / 1.37 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4697, allocations: 62.53 kB / 1.37 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.4697, allocations: 7.938 kB / 1.37 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4697, allocations: 34.56 kB / 1.37 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.4698, allocations: 0 / 1.37 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005522/0.4703, allocations: 165.6 kB / 1.37 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.4704, allocations: 55.36 kB / 1.37 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.4704, allocations: 97 kB / 1.371 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4704, allocations: 33.7 kB / 1.371 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.4705, allocations: 92.06 kB / 1.371 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.4705, allocations: 7.891 kB / 1.371 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.4705, allocations: 0 / 1.371 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4707, allocations: 314.8 kB / 1.371 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.4708, allocations: 43.95 kB / 1.371 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.471, allocations: 43.91 kB / 1.371 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4711, allocations: 51.89 kB / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4711, allocations: 0 / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003198/0.4715, allocations: 125.5 kB / 1.371 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4715, allocations: 6.031 kB / 1.371 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4715, allocations: 0 / 1.371 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4715, allocations: 0 / 1.371 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.4716, allocations: 19.98 kB / 1.371 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4717, allocations: 4 kB / 1.371 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.438e-05/0.4718, allocations: 19.94 kB / 1.371 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.4718, allocations: 3.984 kB / 1.371 GB, free: 1.168 MB / 0.8698 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 (3): * Single equations (assignments): 3 * 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 7.979e-05/0.4719, allocations: 113.8 kB / 1.371 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.4719, allocations: 0 / 1.371 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.4719, allocations: 7.906 kB / 1.371 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4719, allocations: 7.938 kB / 1.371 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4719, allocations: 0 / 1.371 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4719, allocations: 0 / 1.371 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.4721, allocations: 181.5 kB / 1.372 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4721, allocations: 0 / 1.372 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4722, allocations: 19.98 kB / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4723, allocations: 0 / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4723, allocations: 3.938 kB / 1.372 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4723, allocations: 4 kB / 1.372 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4723, allocations: 0 / 1.372 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.4727, allocations: 219.4 kB / 1.372 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.4727, allocations: 81.48 kB / 1.372 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4727, allocations: 0 / 1.372 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4728, allocations: 15.98 kB / 1.372 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4729, allocations: 7.984 kB / 1.372 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4729, allocations: 8 kB / 1.372 GB, free: 420 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.473, allocations: 83.22 kB / 1.372 GB, free: 336 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.473, allocations: 0 / 1.372 GB, free: 336 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001981/0.4732, allocations: 11.91 kB / 1.372 GB, free: 324 kB / 0.8698 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 (3): * Single equations (assignments): 3 * 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.0006594/0.4738, allocations: 0.759 MB / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.4742, allocations: 91.92 kB / 1.373 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4742, allocations: 0 / 1.373 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.4743, allocations: 47.91 kB / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.4745, allocations: 8.672 kB / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.475, allocations: 170.2 kB / 1.373 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4752, allocations: 0.6848 MB / 1.374 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.4752, allocations: 0 / 1.374 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.4753, allocations: 11.44 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.4753, allocations: 0 / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.4868, allocations: 1.271 MB / 1.375 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.4871, allocations: 179.8 kB / 1.375 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.055, allocations: 7.938 kB / 1.375 GB, free: 13.07 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat does not exist to compare? outputFormat=mat