Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.962/1.962, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001143/0.001143, allocations: 181.3 kB / 490.8 MB, free: 1.957 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.287/1.287, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 83.03 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.743e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.235, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6644/0.8994, allocations: 149.5 MB / 1.358 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.8997, allocations: 70.95 kB / 1.358 GB, free: 17.12 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.006002/0.9057, allocations: 1.851 MB / 1.359 GB, free: 17.03 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.9057, allocations: 1.375 kB / 1.359 GB, free: 17.03 MB / 0.823 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.0004112/0.9062, allocations: 376.4 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.9062, allocations: 13.22 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.9063, allocations: 4.906 kB / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.108e-05/0.9064, allocations: 161.8 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.9064, allocations: 1.312 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.9064, allocations: 1.875 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.574e-05/0.9065, allocations: 8.406 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.881e-05/0.9065, allocations: 38.34 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9065, allocations: 3.062 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.9066, allocations: 1.531 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9066, allocations: 3.906 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.9067, allocations: 137.8 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/0.9068, allocations: 23.16 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.9068, allocations: 13.88 kB / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.9068, allocations: 0.7969 kB / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/0.9069, allocations: 56.81 kB / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.9069, allocations: 1.344 kB / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001559/0.9071, allocations: 48.53 kB / 1.36 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.9071, allocations: 53.39 kB / 1.36 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.9072, allocations: 93.95 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.9072, allocations: 27.36 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.9072, allocations: 82.33 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.9073, allocations: 6.656 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.9073, allocations: 0 / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9074, allocations: 320.5 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.9074, allocations: 4.312 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.9074, allocations: 30.34 kB / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.9075, allocations: 19.66 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9075, allocations: 5.375 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.179e-05/0.9076, allocations: 65.31 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9076, allocations: 5.25 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9076, allocations: 2.062 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9076, allocations: 1.312 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.9077, allocations: 11.97 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.9077, allocations: 1.031 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.9077, allocations: 5.688 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.9078, allocations: 2.969 kB / 1.361 GB, free: 31.43 MB / 0.8386 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 7.242e-05/0.9078, allocations: 116 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.9078, allocations: 5.156 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.9079, allocations: 5.609 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9079, allocations: 0.6562 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9079, allocations: 1.469 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.9079, allocations: 0 / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.303e-05/0.908, allocations: 137.4 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.908, allocations: 0 / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.908, allocations: 2.156 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.908, allocations: 1.188 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.908, allocations: 8.656 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.908, allocations: 1.812 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9081, allocations: 1.375 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.162e-05/0.9081, allocations: 69.16 kB / 1.361 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.9082, allocations: 85.86 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.9082, allocations: 2.141 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.9082, allocations: 0 / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.9083, allocations: 2.453 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.9083, allocations: 6.688 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.706e-05/0.9083, allocations: 78.31 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002916/0.9086, allocations: 49.42 kB / 1.362 GB, free: 30.89 MB / 0.8386 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.0003804/0.909, allocations: 163 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.925e-05/0.9091, allocations: 36.53 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9091, allocations: 0 / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.9092, allocations: 12.61 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.763e-05/0.9093, allocations: 5.578 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.9095, allocations: 68.94 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.9097, allocations: 0.6884 MB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.9098, allocations: 0 / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of Templates: time 0.003672/0.9134, allocations: 1.226 MB / 1.364 GB, free: 29.86 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","../files/Buildings_latest_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