Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_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_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001622/0.001623, allocations: 179.3 kB / 498.1 MB, free: 5.77 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.553/1.553, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001068/0.001068, allocations: 98.67 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.000393, allocations: 6.844 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3233, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5235, allocations: 151.2 MB / 1.371 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.5239, allocations: 87.95 kB / 1.371 GB, free: 10.86 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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 - DAE generated: time 0.009702/0.5336, allocations: 3.043 MB / 1.374 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.416e-06/0.5336, allocations: 4 kB / 1.374 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.5336, allocations: 0 / 1.374 GB, free: 7.809 MB / 0.8698 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.0006679/0.5343, allocations: 454.4 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.5344, allocations: 8.031 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.5345, allocations: 15.84 kB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.5347, allocations: 174.9 kB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.5347, allocations: 12 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.5347, allocations: 4 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.535, allocations: 73.62 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.535, allocations: 3.938 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.5351, allocations: 4 kB / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5351, allocations: 7.938 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.5352, allocations: 47.91 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.5359, allocations: 300.8 kB / 1.375 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.536, allocations: 54.56 kB / 1.375 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.5361, allocations: 7.984 kB / 1.375 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.5363, allocations: 79.44 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 3.226e-06/0.5363, allocations: 3.984 kB / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004975/0.5368, allocations: 157.5 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5369, allocations: 55.41 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.537, allocations: 109 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.537, allocations: 33.7 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.5371, allocations: 88.31 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.5371, allocations: 19.88 kB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.5371, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.5374, allocations: 326.8 kB / 1.376 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.5375, allocations: 23.98 kB / 1.376 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.5376, allocations: 61.08 kB / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.5377, allocations: 35.98 kB / 1.376 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5377, allocations: 0 / 1.376 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.5379, allocations: 121.5 kB / 1.376 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5379, allocations: 8 kB / 1.376 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.538, allocations: 0 / 1.376 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.538, allocations: 4 kB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-05/0.5381, allocations: 15.92 kB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.5381, allocations: 7.953 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.5382, allocations: 15.84 kB / 1.376 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5382, allocations: 4 kB / 1.376 GB, free: 5.27 MB / 0.8698 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 0.0001048/0.5383, allocations: 121.9 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.5383, allocations: 7.938 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.5384, allocations: 12.38 kB / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5384, allocations: 0 / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5384, allocations: 0 / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5384, allocations: 3.953 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.5389, allocations: 398.4 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5389, allocations: 0 / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.539, allocations: 7.984 kB / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.539, allocations: 0 / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.539, allocations: 4 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.539, allocations: 3.953 kB / 1.376 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.539, allocations: 0 / 1.376 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.5394, allocations: 223.3 kB / 1.377 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.5394, allocations: 81.11 kB / 1.377 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.5394, allocations: 7.922 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.5395, allocations: 4 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.5396, allocations: 15.94 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5396, allocations: 4 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.753e-05/0.5397, allocations: 99.27 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5397, allocations: 0 / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003627/0.54, allocations: 59.77 kB / 1.377 GB, free: 4.137 MB / 0.8698 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.000419/0.5405, allocations: 173 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.5407, allocations: 75.91 kB / 1.377 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5407, allocations: 3.938 kB / 1.377 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.5409, allocations: 47.89 kB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.5411, allocations: 8.688 kB / 1.377 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.5416, allocations: 206.4 kB / 1.377 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5419, allocations: 0.6926 MB / 1.378 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.5419, allocations: 8.188 kB / 1.378 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.542, allocations: 7.438 kB / 1.378 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.542, allocations: 3.938 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of Templates: time 0.00425/0.5462, allocations: 1.558 MB / 1.38 GB, free: 1.328 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","../files/Buildings_9_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