Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") [: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.235/1.235, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.000952/0.000952, allocations: 188.1 kB / 316 MB, free: 3.605 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.022/1.022, allocations: 205.2 MB / 0.5667 GB, free: 15.71 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.0008172/0.0008172, allocations: 102.5 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.271e-06/6.291e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5558, allocations: 132.3 MB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.5561, allocations: 78.27 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.005913/0.562, allocations: 2 MB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.562, allocations: 0 / 1.016 GB, free: 4.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003304/0.5623, allocations: 383.5 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.5624, allocations: 12.03 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.5624, allocations: 4 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5625, allocations: 166.9 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.5626, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.5626, allocations: 4 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.863e-05/0.5626, allocations: 7.984 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.245e-05/0.5627, allocations: 42.38 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.5627, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5627, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.5627, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.5629, allocations: 149.5 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.483e-05/0.5629, allocations: 21.77 kB / 1.017 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.563, allocations: 12.86 kB / 1.017 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.563, allocations: 3.984 kB / 1.017 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/0.563, allocations: 69.34 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.5631, allocations: 0 / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001398/0.5632, allocations: 52.55 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.5632, allocations: 55.39 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.5633, allocations: 92.44 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.5633, allocations: 25.7 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.5634, allocations: 88.14 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.5634, allocations: 15.25 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.5634, allocations: 0 / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.5635, allocations: 325.9 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.5635, allocations: 4 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.5636, allocations: 32.17 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.5636, allocations: 15.05 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.5636, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.85e-05/0.5637, allocations: 72.91 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5637, allocations: 4 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5637, allocations: 4 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5637, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.5638, allocations: 11.98 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5638, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.5638, allocations: 4 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.5639, allocations: 7.562 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.178e-05/0.5639, allocations: 113 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.564, allocations: 7.938 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.564, allocations: 3.75 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.564, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.564, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.564, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.753e-05/0.5641, allocations: 137.2 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5641, allocations: 3.984 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.5642, allocations: 4 kB / 1.018 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5642, allocations: 4 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5642, allocations: 4.875 kB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5642, allocations: 0 / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5642, allocations: 0 / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.025e-05/0.5643, allocations: 76.16 kB / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.5643, allocations: 81.02 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.5643, allocations: 8.047 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.5644, allocations: 4 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.5644, allocations: 7.25 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5644, allocations: 0 / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.805e-05/0.5645, allocations: 83.22 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002454/0.5647, allocations: 58.92 kB / 1.018 GB, free: 2.305 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003103/0.565, allocations: 157.3 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.5651, allocations: 38.36 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5651, allocations: 0 / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.5652, allocations: 15.11 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.963e-05/0.5653, allocations: 5.484 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.5654, allocations: 78.44 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.5657, allocations: 0.6958 MB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of SimCode: time 1.873e-06/0.5657, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.003164/0.5688, allocations: 1.292 MB / 1.02 GB, free: 8 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y