Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.462/1.462, allocations: 289.8 MB / 297.1 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 173.3 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.2 MB / 0.6256 GB, free: 5.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 92.84 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6084, allocations: 116.3 MB / 0.9726 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.7856, allocations: 138.9 MB / 1.108 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.786, allocations: 76.97 kB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004027/0.79, allocations: 1.121 MB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.79, allocations: 0 / 1.109 GB, free: 8.383 MB / 0.7136 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.0003923/0.7904, allocations: 346.3 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.7905, allocations: 16.02 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.7905, allocations: 0 / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.7907, allocations: 178.9 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.7907, allocations: 4 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.7907, allocations: 0 / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.87e-05/0.7908, allocations: 23.94 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.7909, allocations: 45.69 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7909, allocations: 3.906 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.791, allocations: 0.75 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.791, allocations: 4 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.7914, allocations: 281.3 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.7916, allocations: 50.5 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.7917, allocations: 12.92 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.7917, allocations: 4 kB / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.7917, allocations: 30.56 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7917, allocations: 0 / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001765/0.7919, allocations: 54.25 kB / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.792, allocations: 51.41 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.7921, allocations: 101.8 kB / 1.111 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.7921, allocations: 29.7 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.7921, allocations: 96.03 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.7922, allocations: 9.812 kB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.7922, allocations: 0 / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.7923, allocations: 318.8 kB / 1.111 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.7924, allocations: 11.94 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.7924, allocations: 8 kB / 1.111 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.7924, allocations: 6.469 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7924, allocations: 0 / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.004e-05/0.7925, allocations: 57.59 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.7926, allocations: 4 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7926, allocations: 4 kB / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.7926, allocations: 0 / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.7927, allocations: 11.98 kB / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.7927, allocations: 0 / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.7928, allocations: 8 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.7928, allocations: 4 kB / 1.111 GB, free: 6.449 MB / 0.7136 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 6.878e-05/0.7929, allocations: 112.8 kB / 1.111 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.7929, allocations: 0 / 1.111 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.7929, allocations: 12 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.7929, allocations: 3.906 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.7929, allocations: 0 / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7929, allocations: 0 / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.7931, allocations: 142.8 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.7931, allocations: 0 / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.7932, allocations: 19.98 kB / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7932, allocations: 0 / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.7932, allocations: 4.188 kB / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7932, allocations: 0 / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7932, allocations: 0.75 kB / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001296/0.7934, allocations: 147.4 kB / 1.111 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.7934, allocations: 89.02 kB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.7934, allocations: 7.984 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.7935, allocations: 8 kB / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.7936, allocations: 3.938 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.7936, allocations: 0 / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.89e-05/0.7936, allocations: 92.3 kB / 1.112 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002039/0.7938, allocations: 7.906 kB / 1.112 GB, free: 5.723 MB / 0.7136 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 9.777e-05/0.7939, allocations: 99.25 kB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.794, allocations: 17.31 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7941, allocations: 0 / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.838e-05/0.7941, allocations: 19.92 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.7943, allocations: 0 / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.7945, allocations: 79.77 kB / 1.112 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.7948, allocations: 0.6993 MB / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7948, allocations: 0 / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of Templates: time 0.002252/0.7971, allocations: 468 kB / 1.113 GB, free: 4.32 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)