Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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.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.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.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.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.297/2.297, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001078/0.001078, allocations: 176.9 kB / 487.4 MB, free: 5.043 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.558/1.558, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009852/0.0009852, allocations: 107.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.169e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3023, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8709/1.173, allocations: 148.1 MB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.174, allocations: 70.11 kB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00251/1.176, allocations: 0.8019 MB / 1.351 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/1.176, allocations: 0 / 1.351 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.511e-06/1.176, allocations: 0 / 1.351 GB, free: 34.13 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.0003475/1.177, allocations: 359.2 kB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/1.177, allocations: 12.12 kB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/1.177, allocations: 3.906 kB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/1.177, allocations: 170.7 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/1.177, allocations: 0 / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/1.177, allocations: 3.844 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.42e-05/1.177, allocations: 19.42 kB / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.197e-05/1.177, allocations: 47.58 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/1.177, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/1.177, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.177, allocations: 3.844 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/1.177, allocations: 286.4 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.787e-05/1.177, allocations: 38.27 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/1.177, allocations: 21.42 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/1.177, allocations: 0.7031 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/1.178, allocations: 31.88 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.178, allocations: 4 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001307/1.178, allocations: 48.08 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.561e-05/1.178, allocations: 51.92 kB / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/1.178, allocations: 99.91 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/1.178, allocations: 27.02 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/1.178, allocations: 86.05 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/1.178, allocations: 14.11 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/1.178, allocations: 0 / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/1.178, allocations: 317.5 kB / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/1.178, allocations: 12.06 kB / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/1.178, allocations: 13.7 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/1.178, allocations: 8.172 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/1.178, allocations: 1.312 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.097e-05/1.178, allocations: 53.05 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/1.178, allocations: 5.25 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/1.178, allocations: 0 / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/1.178, allocations: 1.344 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/1.178, allocations: 24.92 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/1.178, allocations: 4.859 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/1.178, allocations: 16.12 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.178, allocations: 1.25 kB / 1.353 GB, free: 32.54 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.529e-05/1.178, allocations: 106.7 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/1.179, allocations: 5.156 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/1.179, allocations: 14.69 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.179, allocations: 1.281 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.179, allocations: 1.312 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.179, allocations: 0.7969 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/1.179, allocations: 146.2 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.179, allocations: 1.312 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/1.179, allocations: 26.98 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.179, allocations: 1.312 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/1.179, allocations: 4 kB / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.179, allocations: 2.078 kB / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.179, allocations: 0 / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/1.179, allocations: 140.7 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/1.179, allocations: 87.08 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/1.179, allocations: 0.7969 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/1.179, allocations: 25.28 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/1.179, allocations: 4.406 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/1.179, allocations: 2.75 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.889e-05/1.179, allocations: 86.84 kB / 1.354 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.179, allocations: 0 / 1.354 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001949/1.179, allocations: 10.28 kB / 1.354 GB, free: 31.93 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.000122/1.18, allocations: 98.09 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.372e-05/1.18, allocations: 29.03 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.18, allocations: 0 / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/1.18, allocations: 11.36 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/1.18, allocations: 9.969 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/1.18, allocations: 68.22 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.18, allocations: 0.6839 MB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.658e-05/1.18, allocations: 6.141 kB / 1.355 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/1.18, allocations: 8.75 kB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.18, allocations: 0 / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.002076/1.182, allocations: 490 kB / 1.355 GB, free: 31.01 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches