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.395/2.395, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001166/0.001166, allocations: 184.1 kB / 492.3 MB, free: 0.6289 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.52/1.52, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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: 97.22 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.235e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2817, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.342, allocations: 151.2 MB / 1.36 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/1.342, allocations: 86.44 kB / 1.36 GB, free: 18.9 MB / 0.823 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.009074/1.351, allocations: 3.027 MB / 1.363 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.351, allocations: 0 / 1.363 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.787e-06/1.351, allocations: 0 / 1.363 GB, free: 34.44 MB / 0.8386 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.0004678/1.352, allocations: 440.4 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.352, allocations: 11.53 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/1.352, allocations: 7.781 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/1.352, allocations: 176.3 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/1.352, allocations: 7.625 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/1.352, allocations: 3.844 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/1.352, allocations: 69.11 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.352, allocations: 0 / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.352, allocations: 0 / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.352, allocations: 4 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/1.352, allocations: 31.03 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/1.353, allocations: 303.7 kB / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.629e-05/1.353, allocations: 46.27 kB / 1.364 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/1.353, allocations: 32.09 kB / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/1.353, allocations: 7.25 kB / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/1.353, allocations: 73.27 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/1.353, allocations: 0 / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002427/1.353, allocations: 101.2 kB / 1.364 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/1.353, allocations: 56.86 kB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/1.353, allocations: 113.7 kB / 1.364 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/1.353, allocations: 36.64 kB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/1.354, allocations: 84.86 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/1.354, allocations: 20.62 kB / 1.365 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.354, allocations: 3.625 kB / 1.365 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/1.354, allocations: 321.4 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/1.354, allocations: 11.5 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.328e-05/1.354, allocations: 52.86 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/1.354, allocations: 25.59 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.354, allocations: 0 / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001288/1.354, allocations: 105.2 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.354, allocations: 7.969 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.354, allocations: 0 / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.354, allocations: 3.875 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/1.354, allocations: 16.83 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.354, allocations: 5.391 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/1.354, allocations: 11.64 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/1.354, allocations: 5 kB / 1.365 GB, free: 32.64 MB / 0.8386 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 7.317e-05/1.354, allocations: 112.2 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/1.354, allocations: 13.12 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/1.354, allocations: 7.312 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.354, allocations: 1.453 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.354, allocations: 3.875 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.354, allocations: 0 / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/1.355, allocations: 379.6 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.355, allocations: 0 / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/1.355, allocations: 10.53 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.355, allocations: 4 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.355, allocations: 5.234 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.355, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.355, allocations: 3.953 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/1.355, allocations: 194.7 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/1.355, allocations: 84.89 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/1.355, allocations: 1.312 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/1.355, allocations: 9.406 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/1.355, allocations: 14.44 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/1.355, allocations: 1.312 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.538e-05/1.355, allocations: 95.8 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.355, allocations: 3.938 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003194/1.356, allocations: 52.39 kB / 1.366 GB, free: 31.88 MB / 0.8386 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.0003878/1.356, allocations: 184.1 kB / 1.366 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001339/1.356, allocations: 57.53 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.356, allocations: 0 / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/1.356, allocations: 29.17 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/1.356, allocations: 10.48 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/1.357, allocations: 112.2 kB / 1.366 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/1.357, allocations: 0.6953 MB / 1.367 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.595e-05/1.357, allocations: 4.031 kB / 1.367 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/1.357, allocations: 14.19 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.357, allocations: 0 / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of Templates: time 0.004113/1.361, allocations: 1.565 MB / 1.369 GB, free: 30.83 MB / 0.8386 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