Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.005/2.005, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.0009619/0.0009619, allocations: 176.8 kB / 487.4 MB, free: 5.074 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.358/1.358, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.0009004/0.0009004, allocations: 87.92 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.746e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7409/0.9697, allocations: 148.7 MB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.97, allocations: 88.91 kB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002695/0.9727, allocations: 0.8576 MB / 1.352 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9727, allocations: 0 / 1.352 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.9727, allocations: 1.344 kB / 1.352 GB, free: 34.11 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.0003786/0.9731, allocations: 364.4 kB / 1.352 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.9732, allocations: 9.703 kB / 1.352 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.9732, allocations: 6.312 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.339e-05/0.9733, allocations: 176 kB / 1.353 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.9733, allocations: 5.281 kB / 1.353 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.9733, allocations: 1.312 kB / 1.353 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.393e-05/0.9734, allocations: 19.56 kB / 1.353 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.9735, allocations: 43.39 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.9735, allocations: 0 / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.9735, allocations: 2.016 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.9735, allocations: 4 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.974, allocations: 285.3 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.9741, allocations: 39.89 kB / 1.353 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.9741, allocations: 18.62 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.9741, allocations: 0 / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.9741, allocations: 32.55 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.9741, allocations: 0 / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001382/0.9743, allocations: 48.91 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.63e-05/0.9743, allocations: 52.66 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.9744, allocations: 104.9 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.9744, allocations: 25.7 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.9745, allocations: 90.91 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.9745, allocations: 14.11 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.9745, allocations: 0 / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.9746, allocations: 317.8 kB / 1.354 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.9746, allocations: 12.91 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.9746, allocations: 11.84 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.9747, allocations: 8.656 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.9747, allocations: 4 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.429e-05/0.9747, allocations: 50.11 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.9748, allocations: 3.875 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.9748, allocations: 4.734 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.9748, allocations: 3.844 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.9749, allocations: 16.48 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.9749, allocations: 4.438 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.975, allocations: 28.27 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.9751, allocations: 0 / 1.354 GB, free: 32.51 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 5.95e-05/0.9751, allocations: 105.7 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.9751, allocations: 5.438 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.9752, allocations: 5 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.9752, allocations: 0.7969 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9752, allocations: 5.25 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.9752, allocations: 0 / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.9753, allocations: 154.2 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9753, allocations: 0 / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.9754, allocations: 20.64 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9754, allocations: 4.625 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.9754, allocations: 0 / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9755, allocations: 0 / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9755, allocations: 1.75 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.9756, allocations: 153 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.9756, allocations: 81.81 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.9756, allocations: 0.75 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.9757, allocations: 19.91 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.9758, allocations: 6.047 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.9758, allocations: 0.6562 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.9758, allocations: 95.02 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9758, allocations: 3.938 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001826/0.976, allocations: 7.719 kB / 1.354 GB, free: 31.9 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 8.473e-05/0.9761, allocations: 95.8 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.059e-05/0.9762, allocations: 18.7 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.9762, allocations: 3.906 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/0.9762, allocations: 11.77 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.9764, allocations: 16.42 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.9766, allocations: 76.81 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.9768, allocations: 0.683 MB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.9769, allocations: 0.7969 kB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.9769, allocations: 11.31 kB / 1.355 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.9769, allocations: 3.938 kB / 1.355 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.00202/0.9789, allocations: 0.5025 MB / 1.356 GB, free: 30.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches