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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009887/0.0009885, allocations: 187.8 kB / 487.4 MB, free: 5.055 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.501/1.501, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.0009056/0.0009055, allocations: 99.84 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.124e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3393, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.393, allocations: 148.1 MB / 1.351 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.393, allocations: 70.75 kB / 1.351 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003103/1.396, allocations: 0.8015 MB / 1.351 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.915e-06/1.396, allocations: 0 / 1.351 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.396, allocations: 0.75 kB / 1.351 GB, free: 34.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004568/1.397, allocations: 358.4 kB / 1.352 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.397, allocations: 12.09 kB / 1.352 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/1.397, allocations: 4.469 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.397, allocations: 167.5 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.397, allocations: 6.609 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/1.397, allocations: 3.969 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.787e-05/1.397, allocations: 20.97 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/1.397, allocations: 44 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.397, allocations: 0 / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/1.397, allocations: 0 / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.397, allocations: 4.531 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/1.398, allocations: 285.9 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/1.398, allocations: 37.27 kB / 1.352 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/1.398, allocations: 17.05 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/1.398, allocations: 0 / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/1.398, allocations: 31.41 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/1.398, allocations: 4 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001798/1.398, allocations: 46.02 kB / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/1.398, allocations: 52.75 kB / 1.352 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.398, allocations: 101.6 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/1.398, allocations: 25.7 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/1.398, allocations: 87.11 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/1.398, allocations: 13.14 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/1.398, allocations: 0 / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.398, allocations: 317.9 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/1.398, allocations: 15.47 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/1.398, allocations: 9.734 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/1.399, allocations: 8.734 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.399, allocations: 0 / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.556e-05/1.399, allocations: 54.11 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.399, allocations: 5.156 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.399, allocations: 0.6562 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.399, allocations: 0 / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/1.399, allocations: 24.52 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.399, allocations: 1.891 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/1.399, allocations: 16.23 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.399, allocations: 0 / 1.353 GB, free: 32.48 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 (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.617e-05/1.399, allocations: 106.8 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/1.399, allocations: 8.078 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/1.399, allocations: 13.81 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.399, allocations: 0 / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.399, allocations: 1.969 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/1.399, allocations: 1.312 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/1.399, allocations: 150.6 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.399, allocations: 0.7031 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.399, allocations: 22.48 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.399, allocations: 0 / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/1.399, allocations: 5.281 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.399, allocations: 1.219 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.399, allocations: 3.938 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/1.4, allocations: 145.5 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/1.4, allocations: 87.17 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/1.4, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.4, allocations: 24.39 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/1.4, allocations: 4.891 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/1.4, allocations: 0 / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.131e-05/1.4, allocations: 87.09 kB / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.4, allocations: 0 / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000196/1.4, allocations: 10.25 kB / 1.354 GB, free: 31.86 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 (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.0001679/1.4, allocations: 103.6 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000105/1.4, allocations: 21.02 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.4, allocations: 4 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/1.4, allocations: 11.59 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/1.401, allocations: 5.438 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/1.401, allocations: 69.88 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/1.401, allocations: 0.6825 MB / 1.355 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.527e-05/1.401, allocations: 5.938 kB / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/1.401, allocations: 8.75 kB / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.401, allocations: 0 / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of Templates: time 0.002569/1.404, allocations: 498.6 kB / 1.355 GB, free: 30.95 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches