Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.998/1.998, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00106/0.00106, allocations: 173.3 kB / 487 MB, free: 5.367 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.293/1.293, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.0009388/0.0009389, allocations: 100.1 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.953e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6054/0.8116, allocations: 148.7 MB / 1.35 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.8119, allocations: 68.77 kB / 1.35 GB, free: 15.81 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.005724/0.8176, allocations: 1.839 MB / 1.352 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.8176, allocations: 1.188 kB / 1.352 GB, free: 15.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003108/0.8179, allocations: 384.9 kB / 1.353 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.818, allocations: 8.969 kB / 1.353 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.818, allocations: 5.828 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.8181, allocations: 161.6 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.8182, allocations: 1.469 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.8182, allocations: 1.672 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.259e-05/0.8182, allocations: 8.188 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.886e-05/0.8183, allocations: 35.16 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8183, allocations: 3.906 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.8183, allocations: 0 / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8183, allocations: 5.219 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.8184, allocations: 137.1 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.8185, allocations: 23.67 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.8185, allocations: 14.48 kB / 1.353 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.8185, allocations: 3.938 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.8186, allocations: 55.94 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8186, allocations: 0 / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001354/0.8188, allocations: 48.94 kB / 1.353 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.8188, allocations: 57.34 kB / 1.353 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.8188, allocations: 95.09 kB / 1.353 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.8189, allocations: 27.27 kB / 1.353 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.8189, allocations: 84.72 kB / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.8189, allocations: 7.406 kB / 1.353 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.8189, allocations: 4 kB / 1.353 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.819, allocations: 321 kB / 1.354 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.819, allocations: 3.562 kB / 1.354 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.8191, allocations: 31.22 kB / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.8191, allocations: 9.453 kB / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8191, allocations: 0 / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.8192, allocations: 62.19 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.8193, allocations: 8.531 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8193, allocations: 1.188 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8193, allocations: 1.297 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.8194, allocations: 15.72 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8194, allocations: 1.953 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.8194, allocations: 5.844 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.8194, allocations: 2.438 kB / 1.354 GB, free: 14.13 MB / 0.8073 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 5.246e-05/0.8195, allocations: 113.1 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.8195, allocations: 5.547 kB / 1.354 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.8195, allocations: 11.22 kB / 1.354 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8195, allocations: 1.156 kB / 1.354 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8195, allocations: 0 / 1.354 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8195, allocations: 1.484 kB / 1.354 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.124e-05/0.8196, allocations: 132.7 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8196, allocations: 1.75 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.8196, allocations: 1.906 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8196, allocations: 8.656 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8197, allocations: 1.125 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.8197, allocations: 0.7031 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8197, allocations: 8.969 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.321e-05/0.8198, allocations: 75.81 kB / 1.354 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.8198, allocations: 78.31 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.8198, allocations: 2.312 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.8198, allocations: 0 / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.8199, allocations: 6.625 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.8199, allocations: 2.203 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.045e-05/0.8199, allocations: 83.06 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002728/0.8202, allocations: 36.78 kB / 1.354 GB, free: 13.59 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 (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.0003294/0.8205, allocations: 167.4 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.8206, allocations: 30.2 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8206, allocations: 0.9688 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.8207, allocations: 12.27 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.161e-05/0.8208, allocations: 8.562 kB / 1.355 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.821, allocations: 65.3 kB / 1.355 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.8211, allocations: 0.6928 MB / 1.355 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/0.8211, allocations: 0 / 1.355 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.003704/0.8248, allocations: 1.218 MB / 1.357 GB, free: 12.57 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","../files/Buildings_9_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