Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001088/0.001088, allocations: 172.9 kB / 496.1 MB, free: 12.87 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.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.000876/0.0008763, allocations: 103.9 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.574e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9792/1.276, allocations: 150.7 MB / 1.366 GB, free: 3.359 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.277, allocations: 82.64 kB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004137/1.281, allocations: 1.469 MB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.573e-06/1.281, allocations: 0 / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.281, allocations: 0 / 1.367 GB, free: 2.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003924/1.281, allocations: 346.5 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.281, allocations: 16.02 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/1.281, allocations: 8.656 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.282, allocations: 171 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/1.282, allocations: 7.5 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/1.282, allocations: 0 / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.282, allocations: 52.56 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.282, allocations: 3.984 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/1.282, allocations: 7.438 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.282, allocations: 0 / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/1.282, allocations: 22.31 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/1.283, allocations: 315.1 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/1.283, allocations: 51.31 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/1.283, allocations: 16.36 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/1.283, allocations: 0 / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.283, allocations: 30.56 kB / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/1.283, allocations: 0 / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001887/1.283, allocations: 60.45 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.283, allocations: 51.41 kB / 1.369 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.283, allocations: 111.5 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/1.283, allocations: 28.83 kB / 1.369 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/1.283, allocations: 95.33 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/1.283, allocations: 15.73 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/1.283, allocations: 0 / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.284, allocations: 314.3 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/1.284, allocations: 11.25 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/1.284, allocations: 11.38 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/1.284, allocations: 11.23 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.284, allocations: 0 / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.655e-05/1.284, allocations: 51.19 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.284, allocations: 8 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.284, allocations: 0 / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.284, allocations: 0 / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/1.284, allocations: 11.95 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.284, allocations: 0 / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/1.284, allocations: 11.98 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/1.284, allocations: 0 / 1.369 GB, free: 132 kB / 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 8.923e-05/1.284, allocations: 104.4 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/1.284, allocations: 19.78 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/1.284, allocations: 4.031 kB / 1.369 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.284, allocations: 4 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/1.284, allocations: 7.938 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.284, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/1.284, allocations: 167.2 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.284, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/1.285, allocations: 11.98 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.285, allocations: 4 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.285, allocations: 4 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.285, allocations: 0 / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.285, allocations: 0 / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/1.285, allocations: 157 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/1.285, allocations: 81.09 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/1.285, allocations: 4 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/1.285, allocations: 4 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/1.285, allocations: 7.312 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/1.285, allocations: 11.92 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.332e-05/1.285, allocations: 91.53 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.285, allocations: 0 / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002111/1.285, allocations: 15.02 kB / 1.37 GB, free: 15.38 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.0001248/1.285, allocations: 91.25 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.838e-05/1.285, allocations: 26.17 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.286, allocations: 0 / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/1.286, allocations: 15.31 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/1.286, allocations: 6.922 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/1.286, allocations: 91.61 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/1.286, allocations: 0.6848 MB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.343e-05/1.286, allocations: 4 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/1.286, allocations: 11.42 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.286, allocations: 0 / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of Templates: time 0.002323/1.289, allocations: 419 kB / 1.371 GB, free: 14.02 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches