Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [: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.931/1.931, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001299/0.001299, allocations: 185.2 kB / 487 MB, free: 5.348 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.262/1.262, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.000956/0.000956, allocations: 95 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.034e-06/7.064e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2369, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5932/0.8302, allocations: 150.7 MB / 1.352 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.8305, allocations: 86.12 kB / 1.352 GB, free: 15.66 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.00997/0.8405, allocations: 2.936 MB / 1.355 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.8405, allocations: 1.656 kB / 1.355 GB, free: 15.51 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004525/0.8409, allocations: 458.1 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.841, allocations: 9.219 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.841, allocations: 8.484 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.8411, allocations: 168.2 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.8412, allocations: 3.297 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.8412, allocations: 8.578 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.419e-05/0.8413, allocations: 28.38 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.8414, allocations: 71.72 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8414, allocations: 4 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.8414, allocations: 1.766 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8415, allocations: 1.625 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.8419, allocations: 301.7 kB / 1.356 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.607e-05/0.842, allocations: 49.11 kB / 1.356 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.8421, allocations: 38.94 kB / 1.356 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.8421, allocations: 1.688 kB / 1.356 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.8422, allocations: 91.27 kB / 1.357 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.8422, allocations: 3.938 kB / 1.357 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0002543/0.8425, allocations: 93.09 kB / 1.357 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.8425, allocations: 57.56 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.8426, allocations: 115 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.8426, allocations: 30.52 kB / 1.357 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.8427, allocations: 92.12 kB / 1.357 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.8427, allocations: 15.75 kB / 1.357 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.8427, allocations: 0 / 1.357 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.8427, allocations: 320 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.8428, allocations: 19.67 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.8428, allocations: 58.81 kB / 1.357 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.8429, allocations: 26.75 kB / 1.357 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8429, allocations: 0 / 1.357 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001711/0.8431, allocations: 100.7 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.8431, allocations: 5.375 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8431, allocations: 4.875 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8431, allocations: 3.234 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.8433, allocations: 22.72 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8433, allocations: 2.469 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.8434, allocations: 10.69 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.8434, allocations: 4.516 kB / 1.357 GB, free: 13.75 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: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.802e-05/0.8434, allocations: 116.5 kB / 1.358 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.8435, allocations: 7.906 kB / 1.358 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.8435, allocations: 11.95 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8435, allocations: 1 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8435, allocations: 3.906 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8435, allocations: 1.672 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.8439, allocations: 348.8 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8439, allocations: 1.703 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.8439, allocations: 15.08 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8439, allocations: 0 / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.844, allocations: 4.297 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.844, allocations: 0 / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.844, allocations: 1.281 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000202/0.8442, allocations: 196.5 kB / 1.358 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.8442, allocations: 83.55 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.8443, allocations: 10.58 kB / 1.358 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.8444, allocations: 11.55 kB / 1.358 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.8444, allocations: 4.859 kB / 1.358 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.8445, allocations: 12.2 kB / 1.358 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.48e-05/0.8445, allocations: 93.45 kB / 1.358 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003069/0.8448, allocations: 48.98 kB / 1.358 GB, free: 13.02 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003197/0.8451, allocations: 181.2 kB / 1.359 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.8453, allocations: 67.39 kB / 1.359 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8453, allocations: 0 / 1.359 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.8454, allocations: 40.44 kB / 1.359 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.8456, allocations: 13.14 kB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.8459, allocations: 117.1 kB / 1.359 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.846, allocations: 0.7057 MB / 1.36 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.846, allocations: 0 / 1.36 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.005036/0.8511, allocations: 1.912 MB / 1.361 GB, free: 11.95 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0