Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [: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.957/1.957, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009889/0.000989, allocations: 170.7 kB / 490.8 MB, free: 1.926 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.343/1.343, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009991/0.000999, allocations: 93.66 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.642e-06, allocations: 3.938 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6486/0.8831, allocations: 151.2 MB / 1.359 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.8835, allocations: 79.95 kB / 1.359 GB, free: 17.14 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.008986/0.8925, allocations: 2.697 MB / 1.362 GB, free: 17 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.8925, allocations: 2.094 kB / 1.362 GB, free: 17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005205/0.893, allocations: 412.8 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.8931, allocations: 9.625 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.8931, allocations: 7.812 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.8932, allocations: 168 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.8933, allocations: 7.578 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.8933, allocations: 3.281 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.74e-05/0.8934, allocations: 27.81 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.8935, allocations: 55.2 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.8935, allocations: 1.406 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.8935, allocations: 0 / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.8936, allocations: 5.125 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.8941, allocations: 281.3 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.8942, allocations: 36.12 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.8942, allocations: 25.42 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.8942, allocations: 2.641 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.682e-05/0.8943, allocations: 61.77 kB / 1.363 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.8943, allocations: 1.281 kB / 1.363 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002472/0.8946, allocations: 85.47 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.8946, allocations: 55.56 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/0.8947, allocations: 110.8 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.8948, allocations: 26.8 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.8948, allocations: 90.72 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.8948, allocations: 16.78 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.8948, allocations: 0 / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.8949, allocations: 317.5 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.895, allocations: 19.41 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.895, allocations: 41.72 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.8951, allocations: 22.09 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8951, allocations: 0 / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001724/0.8953, allocations: 93.88 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.8953, allocations: 5.156 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8953, allocations: 7.297 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8954, allocations: 5.562 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.8955, allocations: 15.59 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8955, allocations: 7.797 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.8956, allocations: 10.25 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.8956, allocations: 6.312 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.705e-05/0.8957, allocations: 109.1 kB / 1.364 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.8957, allocations: 10.56 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.8957, allocations: 12.39 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8957, allocations: 0 / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8958, allocations: 1.344 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8958, allocations: 0 / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.8961, allocations: 324.3 kB / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8961, allocations: 0 / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.8961, allocations: 7.703 kB / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8961, allocations: 4 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.8962, allocations: 1.25 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8962, allocations: 1.438 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8962, allocations: 1.406 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001771/0.8964, allocations: 183.6 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.8964, allocations: 84.89 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.8964, allocations: 1.156 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.8965, allocations: 10.02 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.8966, allocations: 5.25 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.8966, allocations: 3.781 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.026e-05/0.8966, allocations: 92.11 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003394/0.897, allocations: 50.42 kB / 1.365 GB, free: 30.56 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003688/0.8974, allocations: 173.1 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.8975, allocations: 51.55 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8975, allocations: 0 / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.8976, allocations: 28.45 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.8978, allocations: 4.062 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.8981, allocations: 102.4 kB / 1.365 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.8984, allocations: 0.71 MB / 1.366 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.8984, allocations: 0 / 1.366 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.004599/0.903, allocations: 1.637 MB / 1.367 GB, free: 29.51 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0