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.358/2.358, allocations: 390.5 MB / 398 MB, free: 10.98 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.001225/0.001225, allocations: 179.5 kB / 491.2 MB, free: 1.617 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.559/1.559, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009357/0.0009358, allocations: 105.4 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.025e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3304, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.417, allocations: 151.3 MB / 1.36 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.417, allocations: 85.27 kB / 1.36 GB, free: 17.4 MB / 0.823 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.009152/1.427, allocations: 3.014 MB / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.315e-06/1.427, allocations: 0 / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.427, allocations: 0 / 1.363 GB, free: 32.94 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.0005647/1.427, allocations: 447.6 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.427, allocations: 7.844 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/1.427, allocations: 12.27 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/1.428, allocations: 168.4 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/1.428, allocations: 3.844 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/1.428, allocations: 3.844 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.09e-05/1.428, allocations: 26.67 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/1.428, allocations: 58.16 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.428, allocations: 9.188 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/1.428, allocations: 7.312 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.428, allocations: 3.984 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/1.428, allocations: 278.7 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/1.428, allocations: 38.23 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/1.428, allocations: 24.34 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/1.429, allocations: 11.06 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/1.429, allocations: 71.77 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.429, allocations: 0 / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002576/1.429, allocations: 103.5 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/1.429, allocations: 55.36 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.429, allocations: 116.3 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/1.429, allocations: 25.7 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/1.429, allocations: 98.03 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.429, allocations: 14.69 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/1.429, allocations: 0 / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.429, allocations: 321.4 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/1.429, allocations: 11.62 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/1.429, allocations: 48.67 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/1.429, allocations: 30.17 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.429, allocations: 0 / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001413/1.43, allocations: 84.05 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.43, allocations: 7.688 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/1.43, allocations: 1.984 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.43, allocations: 7.812 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/1.43, allocations: 12.89 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.43, allocations: 5.641 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/1.43, allocations: 7.766 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/1.43, allocations: 5.906 kB / 1.365 GB, free: 31.18 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.92e-05/1.43, allocations: 112.5 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/1.43, allocations: 7.656 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/1.43, allocations: 10.41 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.43, allocations: 7.781 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.43, allocations: 0 / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.43, allocations: 0 / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/1.43, allocations: 343.4 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.43, allocations: 0 / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/1.43, allocations: 6.453 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.431, allocations: 0.875 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.431, allocations: 5.938 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.431, allocations: 4 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.431, allocations: 0 / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/1.431, allocations: 208.6 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/1.431, allocations: 84.33 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/1.431, allocations: 1.125 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/1.431, allocations: 9.172 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/1.431, allocations: 5.125 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/1.431, allocations: 8.922 kB / 1.366 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.794e-05/1.431, allocations: 91.39 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.431, allocations: 0 / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003663/1.431, allocations: 60.67 kB / 1.366 GB, free: 30.44 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.0004341/1.432, allocations: 167.6 kB / 1.366 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001519/1.432, allocations: 50.19 kB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.432, allocations: 0 / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/1.432, allocations: 29.92 kB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.432, allocations: 6.641 kB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/1.433, allocations: 107.8 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/1.433, allocations: 0.6968 MB / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.184e-05/1.433, allocations: 2.109 kB / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/1.433, allocations: 11.28 kB / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.433, allocations: 0 / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.004363/1.437, allocations: 1.54 MB / 1.369 GB, free: 29.41 MB / 0.8386 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