Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [: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.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.0009085/0.0009085, allocations: 184.9 kB / 316 MB, free: 3.578 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.052/1.052, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008151/0.0008152, allocations: 100.3 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.271e-06/6.301e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1505, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.5879, allocations: 132.3 MB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.5882, allocations: 75.47 kB / 1.014 GB, free: 6.391 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.005902/0.5941, allocations: 2.006 MB / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5941, allocations: 0 / 1.016 GB, free: 4.738 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.0003498/0.5944, allocations: 379.1 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5945, allocations: 8.031 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.5945, allocations: 4 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.5947, allocations: 170.9 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.5947, allocations: 7.984 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5947, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.484e-05/0.5948, allocations: 6.75 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.767e-05/0.5949, allocations: 37.62 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5949, allocations: 0 / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.5949, allocations: 4 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5949, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.595, allocations: 141.8 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.5952, allocations: 29.62 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.5952, allocations: 16.42 kB / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.5952, allocations: 0 / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.506e-05/0.5953, allocations: 57 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5953, allocations: 0 / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001383/0.5954, allocations: 52.84 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5955, allocations: 51.41 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.157e-05/0.5956, allocations: 100.6 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.5956, allocations: 25.7 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.5956, allocations: 80.14 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.5956, allocations: 10.97 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.5956, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5958, allocations: 322.8 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.5958, allocations: 7.938 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.5958, allocations: 26.81 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.5958, allocations: 8 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5958, allocations: 0 / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.965e-05/0.5959, allocations: 68.39 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.596, allocations: 4 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.596, allocations: 7.938 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.596, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.596, allocations: 11.25 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5961, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.5961, allocations: 3.906 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.5961, allocations: 4 kB / 1.017 GB, free: 2.949 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.279e-05/0.5962, allocations: 105.8 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.5962, allocations: 19.77 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.5962, allocations: 4 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5962, allocations: 0 / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5963, allocations: 0 / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5963, allocations: 0 / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.567e-05/0.5964, allocations: 141.4 kB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5964, allocations: 0 / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.5964, allocations: 3.938 kB / 1.018 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5964, allocations: 4 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.5964, allocations: 0 / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.5964, allocations: 8 kB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5964, allocations: 3.984 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.034e-05/0.5965, allocations: 75.2 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.5966, allocations: 81.11 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.5966, allocations: 256 / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.5966, allocations: 0 / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.5966, allocations: 7.984 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.5966, allocations: 7.906 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.993e-05/0.5967, allocations: 86.41 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002272/0.5969, allocations: 51.23 kB / 1.018 GB, free: 2.293 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.0003209/0.5972, allocations: 164.3 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.136e-05/0.5973, allocations: 22.06 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5973, allocations: 8.188 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.5974, allocations: 19.23 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.804e-05/0.5975, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.5977, allocations: 67.09 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.5979, allocations: 0.6915 MB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.5979, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.003119/0.6011, allocations: 1.269 MB / 1.02 GB, free: 32 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y