Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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: 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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.393/2.393, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001007/0.001006, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009141/0.0009141, allocations: 91.94 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.983e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3868, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.55, allocations: 149.5 MB / 1.365 GB, free: 4.535 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.55, allocations: 64.78 kB / 1.365 GB, free: 4.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002656/1.553, allocations: 0.8112 MB / 1.366 GB, free: 3.746 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.825e-06/1.553, allocations: 0 / 1.366 GB, free: 3.746 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.553, allocations: 0 / 1.366 GB, free: 3.746 MB / 0.823 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.0005864/1.553, allocations: 361.1 kB / 1.366 GB, free: 3.355 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/1.553, allocations: 12.03 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/1.554, allocations: 8.531 kB / 1.366 GB, free: 3.336 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/1.554, allocations: 167 kB / 1.366 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/1.554, allocations: 4 kB / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/1.554, allocations: 0 / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/1.554, allocations: 45.19 kB / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.554, allocations: 0 / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.554, allocations: 0 / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.554, allocations: 4 kB / 1.366 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/1.554, allocations: 14.88 kB / 1.366 GB, free: 3.074 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/1.555, allocations: 314.8 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/1.555, allocations: 29.95 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/1.555, allocations: 23.61 kB / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/1.555, allocations: 4.078 kB / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.555, allocations: 30.56 kB / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/1.555, allocations: 0 / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002079/1.555, allocations: 52.55 kB / 1.367 GB, free: 2.586 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.555, allocations: 62.61 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/1.556, allocations: 102 kB / 1.367 GB, free: 2.414 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/1.556, allocations: 29.7 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/1.556, allocations: 84.08 kB / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/1.556, allocations: 7.906 kB / 1.367 GB, free: 2.289 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/1.556, allocations: 0 / 1.367 GB, free: 2.289 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.556, allocations: 318.7 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/1.556, allocations: 11.88 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/1.556, allocations: 8 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/1.556, allocations: 7.875 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.556, allocations: 0 / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001202/1.556, allocations: 65.42 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.556, allocations: 5.25 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/1.556, allocations: 0 / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.556, allocations: 4.031 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/1.556, allocations: 19.98 kB / 1.367 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/1.556, allocations: 0 / 1.367 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/1.556, allocations: 31.92 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.556, allocations: 0 / 1.367 GB, free: 1.832 MB / 0.823 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 0.0001007/1.557, allocations: 109.7 kB / 1.368 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/1.557, allocations: 0 / 1.368 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/1.557, allocations: 4.031 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.557, allocations: 4 kB / 1.368 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.557, allocations: 0 / 1.368 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.557, allocations: 0 / 1.368 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.557, allocations: 173 kB / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.557, allocations: 7.984 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.557, allocations: 23.92 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.557, allocations: 0 / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/1.557, allocations: 3.375 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.557, allocations: 0 / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.557, allocations: 0 / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/1.557, allocations: 156.6 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/1.557, allocations: 77.11 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/1.557, allocations: 4 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/1.557, allocations: 11.98 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/1.558, allocations: 7.984 kB / 1.368 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/1.558, allocations: 0 / 1.368 GB, free: 1.191 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.644e-05/1.558, allocations: 86.41 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.558, allocations: 4 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002073/1.558, allocations: 15.84 kB / 1.368 GB, free: 1.09 MB / 0.823 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.0001907/1.558, allocations: 103.4 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001154/1.558, allocations: 22.25 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.558, allocations: 4 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/1.558, allocations: 11.19 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.558, allocations: 8 kB / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/1.559, allocations: 86.97 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/1.559, allocations: 0.6809 MB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.77e-05/1.559, allocations: 4 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/1.559, allocations: 7.438 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of SimCode: time 5.41e-07/1.559, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of Templates: time 0.002963/1.562, allocations: 0.5251 MB / 1.369 GB, free: 15.62 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches