Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") [: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.195/1.195, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.0009375/0.0009376, allocations: 189.1 kB / 316 MB, free: 3.555 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.078/1.078, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0007853/0.0007853, allocations: 89.89 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.16e-06/5.18e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1444, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5642, allocations: 132.2 MB / 1.014 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.5645, allocations: 74.48 kB / 1.014 GB, free: 6.449 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.0057/0.5702, allocations: 1.92 MB / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5702, allocations: 0 / 1.016 GB, free: 4.859 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003247/0.5705, allocations: 379.5 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.5706, allocations: 11.97 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.5706, allocations: 0 / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.5707, allocations: 178.8 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.5708, allocations: 4 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.5708, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.664e-05/0.5708, allocations: 7.312 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.664e-05/0.5709, allocations: 37.67 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5709, allocations: 0 / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.5709, allocations: 4 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5709, allocations: 1.562 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.571, allocations: 133.3 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/0.5711, allocations: 34.2 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.5711, allocations: 8.859 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5711, allocations: 7.984 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/0.5712, allocations: 46.94 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.5712, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001282/0.5714, allocations: 44.81 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.5714, allocations: 65.83 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.5715, allocations: 95.84 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.5715, allocations: 25.7 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.5715, allocations: 80.14 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.5715, allocations: 18.97 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-06/0.5715, allocations: 0 / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.5716, allocations: 318.3 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.5716, allocations: 4 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.5717, allocations: 39.05 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.5717, allocations: 4 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5717, allocations: 0 / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.368e-05/0.5718, allocations: 68.89 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.5718, allocations: 4 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5718, allocations: 8.094 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5718, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.5719, allocations: 8 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.5719, allocations: 3.938 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.5719, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5719, allocations: 4 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.059e-05/0.572, allocations: 108.9 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.572, allocations: 7.922 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.5721, allocations: 3.688 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5721, allocations: 4.938 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5721, allocations: 0 / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5721, allocations: 7.906 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.393e-05/0.5722, allocations: 130 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5722, allocations: 4 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.5722, allocations: 3.938 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.5722, allocations: 0 / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.5722, allocations: 0.75 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.5722, allocations: 0 / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5722, allocations: 4 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.942e-05/0.5723, allocations: 83.52 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.5723, allocations: 81.02 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.5724, allocations: 8 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.5724, allocations: 0 / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.5724, allocations: 0 / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.5724, allocations: 3.984 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.609e-05/0.5725, allocations: 83.59 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002202/0.5727, allocations: 47.81 kB / 1.018 GB, free: 2.434 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 (4): * Single equations (assignments): 2 * 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.000303/0.573, allocations: 163 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.5731, allocations: 23.75 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5731, allocations: 0 / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.5731, allocations: 10.88 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.168e-05/0.5732, allocations: 4.188 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.5734, allocations: 79.52 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.5736, allocations: 0.6912 MB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.5736, allocations: 0 / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of Templates: time 0.002936/0.5765, allocations: 1.229 MB / 1.02 GB, free: 216 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y