Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 7.043 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.0009644/0.0009644, allocations: 180.9 kB / 316 MB, free: 3.566 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.085/1.085, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0007876/0.0007876, allocations: 91.34 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.52e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 106.3 MB / 0.8845 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5751, allocations: 132.1 MB / 1.014 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.5754, allocations: 72.27 kB / 1.014 GB, free: 6.652 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.005249/0.5806, allocations: 1.835 MB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5806, allocations: 0 / 1.015 GB, free: 5.137 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.000317/0.581, allocations: 371.9 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.581, allocations: 12.03 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.581, allocations: 0 / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.5811, allocations: 170.9 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.5812, allocations: 4 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.5812, allocations: 0 / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.412e-05/0.5812, allocations: 7.938 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.56e-05/0.5813, allocations: 36.62 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5813, allocations: 0 / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.5813, allocations: 0 / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5813, allocations: 0 / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.5814, allocations: 141.2 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.695e-05/0.5815, allocations: 30.05 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.5815, allocations: 8.859 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.5816, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.364e-05/0.5816, allocations: 62.69 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.5816, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001171/0.5817, allocations: 44.75 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.5818, allocations: 51.41 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.5819, allocations: 95.84 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5819, allocations: 33.69 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.5819, allocations: 83.33 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.5819, allocations: 3.906 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.5819, allocations: 0 / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.5821, allocations: 325.3 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.5821, allocations: 4 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.5821, allocations: 34.34 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.421e-05/0.5821, allocations: 19.28 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5821, allocations: 0 / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.703e-05/0.5822, allocations: 65.03 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.5823, allocations: 6.656 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5823, allocations: 0 / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5823, allocations: 7.938 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.5823, allocations: 7.984 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5823, allocations: 4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.5824, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5824, allocations: 4 kB / 1.017 GB, free: 3.359 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.38e-05/0.5825, allocations: 123.2 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.5825, allocations: 3.938 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.5825, allocations: 7.688 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5825, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5825, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5825, allocations: 3.906 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.078e-05/0.5826, allocations: 133.7 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5826, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.5826, allocations: 7.984 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.5826, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.5827, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.5827, allocations: 4 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5827, allocations: 0 / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.946e-05/0.5827, allocations: 72.34 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.5828, allocations: 81.02 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5828, allocations: 3.984 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.5828, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.5829, allocations: 7.375 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5829, allocations: 4 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.657e-05/0.5829, allocations: 79.28 kB / 1.018 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002184/0.5831, allocations: 51.73 kB / 1.018 GB, free: 2.727 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.0002884/0.5834, allocations: 168.5 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.5835, allocations: 23.3 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5835, allocations: 8 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.391e-05/0.5835, allocations: 11.12 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.9e-05/0.5836, allocations: 0 / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.5838, allocations: 69.78 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.584, allocations: 0.6876 MB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of SimCode: time 2.11e-07/0.5841, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of Templates: time 0.002861/0.5869, allocations: 1.227 MB / 1.02 GB, free: 0.5078 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.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