Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") [: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.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.0009327/0.0009327, allocations: 189.2 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.037/1.037, 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.0007922/0.0007922, allocations: 89.98 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.2e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5574, allocations: 133 MB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.5576, allocations: 72.58 kB / 1.014 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002612/0.5602, allocations: 0.765 MB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5602, allocations: 4 kB / 1.015 GB, free: 5.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000341/0.5606, allocations: 397.2 kB / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.5606, allocations: 12.03 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.5607, allocations: 3.906 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5608, allocations: 167 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.5608, allocations: 4 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.5608, allocations: 7.984 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.307e-05/0.5609, allocations: 11.56 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.503e-05/0.561, allocations: 47.94 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.561, allocations: 0 / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.561, allocations: 4 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.561, allocations: 3.938 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.5614, allocations: 264 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.5614, allocations: 24.77 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.5614, allocations: 11.92 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.5615, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.813e-05/0.5615, allocations: 62.12 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.394e-06/0.5616, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.000143/0.5617, allocations: 63.66 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.5617, allocations: 54.14 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.5618, allocations: 105.6 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.5618, allocations: 25.7 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.5619, allocations: 87.55 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.5619, allocations: 8.281 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5619, allocations: 0 / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.562, allocations: 322.4 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.562, allocations: 11.05 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.5621, allocations: 43.42 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.5621, allocations: 15.92 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5621, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.5622, allocations: 68.66 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5622, allocations: 10.5 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5622, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.5623, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.5623, allocations: 11.98 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.5624, allocations: 4 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.5624, allocations: 16 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5624, allocations: 7.25 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,bli.occ,$whenCondition1,bli.sampleTrigger) * 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.342e-05/0.5625, allocations: 101 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.5625, allocations: 7.906 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.5626, allocations: 11.73 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5626, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5626, allocations: 4 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5626, allocations: 3.938 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.5628, allocations: 288.8 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5628, allocations: 0 / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.5629, allocations: 7.125 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5629, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5629, allocations: 7.75 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5629, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5629, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001112/0.563, allocations: 160.2 kB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.563, allocations: 85 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.5631, allocations: 0 / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.5632, allocations: 8 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.5632, allocations: 3.984 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.5632, allocations: 4 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.824e-05/0.5633, allocations: 90.78 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002105/0.5635, allocations: 11.91 kB / 1.018 GB, free: 2.371 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: 4 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.45e-05/0.5636, allocations: 107.2 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.673e-05/0.5637, allocations: 30.38 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.5637, allocations: 0 / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.5637, allocations: 19.31 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.5639, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.5641, allocations: 87.31 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.5643, allocations: 0.6958 MB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.5643, allocations: 0 / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of Templates: time 0.002088/0.5664, allocations: 0.5818 MB / 1.019 GB, free: 0.8555 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches