Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.932/1.932, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.001277/0.001277, allocations: 173.3 kB / 487 MB, free: 5.328 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.25/1.25, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0009476/0.0009476, allocations: 104 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.049e-06/5.079e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2105, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6026/0.8131, allocations: 149.4 MB / 1.351 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.8134, allocations: 80.2 kB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002901/0.8163, allocations: 0.8062 MB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.495e-06/0.8163, allocations: 1.094 kB / 1.352 GB, free: 15.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003101/0.8166, allocations: 403.1 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8167, allocations: 9.656 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.8167, allocations: 4.281 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.8168, allocations: 177.8 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.8169, allocations: 2.5 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.8169, allocations: 6.203 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.772e-05/0.817, allocations: 12.47 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/0.817, allocations: 46.66 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.817, allocations: 1.156 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8171, allocations: 3.906 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8171, allocations: 4.812 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.8174, allocations: 250.8 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.8175, allocations: 30.05 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.8175, allocations: 24.27 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.8175, allocations: 1.031 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.602e-05/0.8176, allocations: 57.66 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.8176, allocations: 0 / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.000148/0.8178, allocations: 58.19 kB / 1.353 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.8178, allocations: 51.41 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.8179, allocations: 109.2 kB / 1.353 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.8179, allocations: 31.23 kB / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.8179, allocations: 86.39 kB / 1.353 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.8179, allocations: 9.5 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.8179, allocations: 0 / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.818, allocations: 319.2 kB / 1.354 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.818, allocations: 8.969 kB / 1.354 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.8181, allocations: 38.02 kB / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.8181, allocations: 21.33 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8181, allocations: 0 / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.8182, allocations: 69.14 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.8182, allocations: 4.719 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8183, allocations: 2.406 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8183, allocations: 5.031 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.8184, allocations: 11.53 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8184, allocations: 5.688 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.8184, allocations: 6.859 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.8185, allocations: 3.156 kB / 1.354 GB, free: 14.1 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: 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 5.056e-05/0.8185, allocations: 107 kB / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.8185, allocations: 6.312 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.8186, allocations: 10.86 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8186, allocations: 1.594 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8186, allocations: 5.109 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8186, allocations: 1.688 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.8188, allocations: 290.3 kB / 1.354 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8188, allocations: 0 / 1.354 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.8189, allocations: 6.562 kB / 1.354 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8189, allocations: 10.84 kB / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8189, allocations: 0 / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8189, allocations: 1.062 kB / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8189, allocations: 0 / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001029/0.819, allocations: 151.2 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.819, allocations: 84.89 kB / 1.354 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.8191, allocations: 6.344 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.8192, allocations: 12.94 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.8192, allocations: 3.203 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8192, allocations: 4.312 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.078e-05/0.8192, allocations: 95.22 kB / 1.355 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002199/0.8195, allocations: 11.5 kB / 1.355 GB, free: 13.38 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: 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 9.049e-05/0.8196, allocations: 99.06 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.8197, allocations: 37.97 kB / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8197, allocations: 0 / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.8197, allocations: 16.84 kB / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.8199, allocations: 2.844 kB / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.8202, allocations: 80.47 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.8205, allocations: 0.6978 MB / 1.355 GB, free: 28.51 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.8205, allocations: 0 / 1.355 GB, free: 28.51 MB / 0.823 GB Notification: Performance of Templates: time 0.00253/0.823, allocations: 0.578 MB / 1.356 GB, free: 28.45 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches