Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001977, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.512/2.512, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005452/0.0005453, allocations: 8 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.6655, allocations: 153.7 MB / 1.021 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001717/0.6672, allocations: 1.192 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.6683, allocations: 0.69 MB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.6684, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.6684, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.6685, allocations: 19.92 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.6689, allocations: 87.7 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.353e-05/0.669, allocations: 51.86 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.6691, allocations: 12.17 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.6692, allocations: 27.92 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.6693, allocations: 35.83 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.6693, allocations: 4 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.6695, allocations: 67.92 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.6695, allocations: 15.92 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.6695, allocations: 33.7 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.6697, allocations: 101.9 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.6697, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6697, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6697, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 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.0005507/0.6703, allocations: 442.5 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6703, allocations: 8.031 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.6704, allocations: 7.906 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.6705, allocations: 174.9 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.6705, allocations: 8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.6706, allocations: 8 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.6708, allocations: 73.59 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6708, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.6708, allocations: 8 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.6708, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.671, allocations: 43.97 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.6715, allocations: 300.8 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.6716, allocations: 54.55 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.6716, allocations: 12 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.6718, allocations: 75.5 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.6718, allocations: 4 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.6722, allocations: 153.5 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.6723, allocations: 51.41 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.6724, allocations: 137.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.6724, allocations: 25.7 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.6725, allocations: 100.3 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.6725, allocations: 15.78 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.6725, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6726, allocations: 318.8 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.6727, allocations: 23.98 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.6728, allocations: 69.12 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.6729, allocations: 31.92 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6729, allocations: 3.953 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002322/0.6732, allocations: 121.4 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6732, allocations: 8 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.6732, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6732, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.6733, allocations: 11.98 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6733, allocations: 8.156 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.6734, allocations: 7.938 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.6734, allocations: 4 kB / 1.025 GB, free: 12.41 MB / 0.7794 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,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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 9.896e-05/0.6735, allocations: 125.8 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.6735, allocations: 11.86 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.6736, allocations: 8.359 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6736, allocations: 0 / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.6736, allocations: 0 / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6736, allocations: 4 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.6741, allocations: 394.5 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6741, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.6742, allocations: 15.98 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6742, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6742, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6742, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6742, allocations: 3.938 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.6745, allocations: 219.7 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.6746, allocations: 92.95 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.6746, allocations: 3.984 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.6747, allocations: 8 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.6747, allocations: 7.984 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.6748, allocations: 7.938 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.076e-05/0.6748, allocations: 106.2 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6748, allocations: 0 / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003179/0.6751, allocations: 35.98 kB / 1.026 GB, free: 11.29 MB / 0.7794 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,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0003114/0.6755, allocations: 161.3 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.6757, allocations: 71.91 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6757, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.6758, allocations: 48.28 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.676, allocations: 8.516 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.6764, allocations: 205.1 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.6767, allocations: 0.7004 MB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.6767, allocations: 4.188 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.6767, allocations: 15.38 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6767, allocations: 0 / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.003883/0.6806, allocations: 1.381 MB / 1.029 GB, free: 8.691 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","../files/Buildings_latest_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.f,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,occ.y,time