Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.187/1.187, allocations: 249.4 MB / 256.7 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 188.4 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.042/1.042, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.0008153, allocations: 79.44 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.478e-06/4.508e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 106.3 MB / 0.8845 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.6032, allocations: 132.7 MB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.6035, allocations: 78.83 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003711/0.6072, allocations: 1.109 MB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.6072, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 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.0003395/0.6076, allocations: 349.8 kB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6076, allocations: 12.03 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.6076, allocations: 3.906 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.6078, allocations: 182.8 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.6078, allocations: 3.938 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.6078, allocations: 4 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.914e-05/0.6079, allocations: 23.94 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/0.608, allocations: 49.42 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.608, allocations: 0 / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.608, allocations: 0 / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.608, allocations: 0 / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.6084, allocations: 282.5 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.6086, allocations: 49.38 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.6086, allocations: 12.23 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.6087, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.6087, allocations: 34.56 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.6087, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001431/0.6088, allocations: 47.47 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.6089, allocations: 59.09 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.6089, allocations: 101 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.609, allocations: 29.7 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.609, allocations: 88.05 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.609, allocations: 11.22 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.609, allocations: 384 / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.6091, allocations: 322.7 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.6092, allocations: 7.812 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.6092, allocations: 7.312 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.014e-05/0.6092, allocations: 11.69 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6092, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.326e-05/0.6093, allocations: 49.62 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.6093, allocations: 4 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6093, allocations: 0 / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6093, allocations: 7.906 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.6094, allocations: 11.98 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.6094, allocations: 3.938 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.6095, allocations: 12.86 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6095, allocations: 7.938 kB / 1.017 GB, free: 3.25 MB / 0.6355 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.202e-05/0.6096, allocations: 103.4 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.6096, allocations: 3.906 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.6096, allocations: 11.81 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6096, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6096, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6097, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.6098, allocations: 149.1 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6098, allocations: 1.25 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.6099, allocations: 19.98 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6099, allocations: 3.984 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.6099, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6099, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6099, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001059/0.61, allocations: 151.1 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.61, allocations: 85.05 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.6101, allocations: 7.906 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.6102, allocations: 4 kB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.6102, allocations: 7.984 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.6102, allocations: 0 / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.247e-05/0.6102, allocations: 86.91 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000195/0.6104, allocations: 4 kB / 1.018 GB, free: 2.566 MB / 0.6355 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 7.734e-05/0.6105, allocations: 102.2 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.001e-05/0.6106, allocations: 19.86 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.6106, allocations: 288 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.6106, allocations: 11.94 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.6108, allocations: 11.75 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.611, allocations: 71.64 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.6113, allocations: 0.6993 MB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.6113, allocations: 4 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of Templates: time 0.001918/0.6132, allocations: 457.3 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches