Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") [: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.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.0009851/0.0009851, allocations: 177.2 kB / 316 MB, free: 3.57 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.035/1.035, allocations: 205.1 MB / 0.5667 GB, free: 15.73 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.0008603/0.0008603, allocations: 77.53 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.362e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1492, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5891, allocations: 134 MB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.5893, allocations: 79.83 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.008064/0.5974, allocations: 2.658 MB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5974, allocations: 0 / 1.018 GB, free: 2.602 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004187/0.5978, allocations: 439 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.5979, allocations: 12.02 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.5979, allocations: 15.81 kB / 1.019 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.5981, allocations: 171 kB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.5981, allocations: 4 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.5981, allocations: 11.25 kB / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.677e-05/0.5982, allocations: 22.41 kB / 1.019 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.925e-05/0.5983, allocations: 62.59 kB / 1.019 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.5983, allocations: 0 / 1.019 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5983, allocations: 4 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5983, allocations: 0 / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.5987, allocations: 273.5 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.5988, allocations: 44.83 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.5989, allocations: 23.84 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.5989, allocations: 8.062 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.434e-05/0.599, allocations: 69.27 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.599, allocations: 0 / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001811/0.5992, allocations: 79.14 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.5992, allocations: 60.38 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.5993, allocations: 115.8 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5993, allocations: 25.7 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.5994, allocations: 87.58 kB / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.5994, allocations: 23.17 kB / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.5994, allocations: 0 / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.5995, allocations: 318.6 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.5995, allocations: 10.94 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.5996, allocations: 52.27 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.5996, allocations: 27.11 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5996, allocations: 0 / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001315/0.5998, allocations: 87.53 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5998, allocations: 8 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5998, allocations: 0 / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5998, allocations: 4 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.5999, allocations: 11.98 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5999, allocations: 12.09 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.6, allocations: 11.89 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.6, allocations: 4 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,bli.occ,$whenCondition1,bli.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 6.965e-05/0.6001, allocations: 111.9 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.6001, allocations: 11.84 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.6001, allocations: 4.375 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6002, allocations: 4 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6002, allocations: 4 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.6002, allocations: 3.906 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.6005, allocations: 330 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6005, allocations: 0 / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.6005, allocations: 7.984 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6006, allocations: 3.906 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.6006, allocations: 2.688 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6006, allocations: 4 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6006, allocations: 4 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001554/0.6007, allocations: 173.5 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.6008, allocations: 85.02 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.6008, allocations: 0 / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.6009, allocations: 4 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.601, allocations: 19.23 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.601, allocations: 4 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.056e-05/0.601, allocations: 96.58 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000272/0.6013, allocations: 51.72 kB / 1.021 GB, free: 15.51 MB / 0.6511 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.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.0003007/0.6016, allocations: 160 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.6018, allocations: 61.97 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.6018, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.6018, allocations: 30.36 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.602, allocations: 4.609 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.6023, allocations: 109.4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.6026, allocations: 0.7074 MB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.6026, allocations: 192 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.003621/0.6062, allocations: 1.66 MB / 1.024 GB, free: 12.82 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.freqHz,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time