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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001618/0.001618, allocations: 183.9 kB / 0.4902 GB, free: 2.246 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.506/1.506, allocations: 223.2 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009565/0.0009567, allocations: 113.9 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003914, allocations: 10.91 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2983, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.4988, allocations: 152 MB / 1.378 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/0.4993, allocations: 83.95 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 - DAE generated: time 0.00964/0.5089, allocations: 3.054 MB / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.633e-06/0.509, allocations: 0 / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.509, allocations: 0 / 1.381 GB, free: 14.35 MB / 0.8855 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.0005345/0.5095, allocations: 446.4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5096, allocations: 12.56 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.5096, allocations: 11.86 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5098, allocations: 167.1 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.5098, allocations: 11.97 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.5098, allocations: 4 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.51, allocations: 77.58 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.51, allocations: 0 / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5101, allocations: 4 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5101, allocations: 4 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.5102, allocations: 39.97 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.5108, allocations: 312.6 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.5109, allocations: 58.5 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.511, allocations: 0 / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.5112, allocations: 87.44 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.5112, allocations: 0 / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004262/0.5116, allocations: 161.5 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.5117, allocations: 55.41 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.5118, allocations: 120.3 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5118, allocations: 29.64 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.5118, allocations: 92.33 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.5119, allocations: 15.8 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.5119, allocations: 4 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.512, allocations: 318.8 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.5121, allocations: 27.92 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.5122, allocations: 65.12 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.091e-05/0.5123, allocations: 31.98 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5123, allocations: 0 / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.5125, allocations: 121.4 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5125, allocations: 10.19 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5125, allocations: 0 / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5126, allocations: 4 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.5127, allocations: 11.94 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.5127, allocations: 11.94 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.5127, allocations: 8.156 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5128, allocations: 4 kB / 1.383 GB, free: 11.83 MB / 0.8855 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 () * 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.767e-05/0.5129, allocations: 125.8 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.5129, allocations: 3.906 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.5129, allocations: 12.36 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5129, allocations: 0 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5129, allocations: 3.938 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.513, allocations: 3.953 kB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.5134, allocations: 390.8 kB / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5134, allocations: 0 / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.5135, allocations: 11.94 kB / 1.383 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5135, allocations: 0 / 1.383 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.5135, allocations: 7.984 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5135, allocations: 3.953 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5135, allocations: 4.078 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.5139, allocations: 223.3 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.5139, allocations: 85.02 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.5139, allocations: 4 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.514, allocations: 11.98 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.5141, allocations: 11.98 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.5141, allocations: 3.984 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.5142, allocations: 99.27 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5142, allocations: 0 / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003434/0.5145, allocations: 40 kB / 1.384 GB, free: 10.7 MB / 0.8855 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 () * 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.0003825/0.5149, allocations: 183.3 kB / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.5152, allocations: 79.83 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5152, allocations: 0 / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.5153, allocations: 40.3 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.5155, allocations: 9.406 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.5159, allocations: 209.1 kB / 1.384 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.5162, allocations: 0.7004 MB / 1.385 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.5163, allocations: 8.172 kB / 1.385 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.5163, allocations: 7.438 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5163, allocations: 0 / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of Templates: time 0.004461/0.5208, allocations: 1.554 MB / 1.387 GB, free: 7.906 MB / 0.8855 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,time