Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.927/1.927, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 169.3 kB / 487 MB, free: 5.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009182, allocations: 101.9 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.3e-06/5.43e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5766/0.7923, allocations: 148.8 MB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.7926, allocations: 72.2 kB / 1.351 GB, free: 15.94 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.006157/0.7987, allocations: 2.01 MB / 1.353 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7988, allocations: 0 / 1.353 GB, free: 15.84 MB / 0.8073 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.0003071/0.7991, allocations: 380.8 kB / 1.353 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.7991, allocations: 10.34 kB / 1.353 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.7992, allocations: 9.531 kB / 1.353 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/0.7993, allocations: 165.5 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.7993, allocations: 1.406 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.7993, allocations: 3.328 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.579e-05/0.7994, allocations: 8.281 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.679e-05/0.7994, allocations: 43.73 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7994, allocations: 0 / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.7995, allocations: 0.7188 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.7995, allocations: 1.219 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.7996, allocations: 138 kB / 1.353 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.594e-05/0.7996, allocations: 25.55 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.7997, allocations: 11.72 kB / 1.353 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.7997, allocations: 3.938 kB / 1.353 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.164e-05/0.7998, allocations: 59.23 kB / 1.353 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 2.504e-06/0.7998, allocations: 1.094 kB / 1.353 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001438/0.7999, allocations: 59.08 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.8, allocations: 53.25 kB / 1.353 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.8, allocations: 96.69 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.8, allocations: 25.7 kB / 1.354 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/0.8001, allocations: 81.72 kB / 1.354 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.8001, allocations: 15.38 kB / 1.354 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.8001, allocations: 0 / 1.354 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.8002, allocations: 317.6 kB / 1.354 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.8002, allocations: 16.28 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.8002, allocations: 36.58 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.8003, allocations: 12.12 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8003, allocations: 0.6875 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.55e-05/0.8004, allocations: 69.11 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.8004, allocations: 5.188 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8004, allocations: 1.594 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8004, allocations: 2.234 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.8005, allocations: 8.578 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.8005, allocations: 2.672 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.8005, allocations: 6.188 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.8005, allocations: 6.266 kB / 1.354 GB, free: 14.23 MB / 0.8073 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 5.002e-05/0.8006, allocations: 113.3 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.8006, allocations: 6.641 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.8006, allocations: 5.375 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8006, allocations: 0.6875 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8007, allocations: 0 / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8007, allocations: 1.438 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.701e-05/0.8007, allocations: 133.4 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8007, allocations: 0.5156 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.8008, allocations: 3.891 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8008, allocations: 11.31 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.8008, allocations: 5.562 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8008, allocations: 1.906 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.8008, allocations: 3.938 kB / 1.354 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.165e-05/0.8009, allocations: 81.62 kB / 1.355 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.8009, allocations: 79.44 kB / 1.355 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.8009, allocations: 1.328 kB / 1.355 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.801, allocations: 0.5156 kB / 1.355 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.801, allocations: 6.641 kB / 1.355 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.801, allocations: 9.688 kB / 1.355 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.978e-05/0.801, allocations: 80.02 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002619/0.8013, allocations: 46.58 kB / 1.355 GB, free: 13.68 MB / 0.8073 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.0003036/0.8016, allocations: 168.6 kB / 1.355 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.586e-05/0.8017, allocations: 35.86 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8017, allocations: 0 / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.8017, allocations: 13.16 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.8018, allocations: 1.5 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.802, allocations: 73.34 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.8022, allocations: 0.6914 MB / 1.356 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.8022, allocations: 0 / 1.356 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.003621/0.8058, allocations: 1.297 MB / 1.357 GB, free: 12.65 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","../files/Buildings_9_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