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.011/2.011, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.000925/0.000925, allocations: 172.3 kB / 487.4 MB, free: 5.035 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.319/1.319, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008005, allocations: 83.98 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.216e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2234, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7889/1.012, allocations: 150.5 MB / 1.353 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.013, allocations: 83.77 kB / 1.353 GB, free: 18.38 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.008907/1.022, allocations: 3.013 MB / 1.356 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/1.022, allocations: 4 kB / 1.356 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.015e-06/1.022, allocations: 3.875 kB / 1.356 GB, free: 33.91 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.000434/1.022, allocations: 435.3 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.022, allocations: 11.53 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/1.022, allocations: 7.875 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.022, allocations: 172.4 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/1.022, allocations: 0 / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/1.022, allocations: 4.641 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.328e-05/1.022, allocations: 33.73 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/1.023, allocations: 68.97 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.023, allocations: 0 / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.023, allocations: 0.7969 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.023, allocations: 3.938 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/1.023, allocations: 284.2 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.406e-05/1.023, allocations: 38.14 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/1.023, allocations: 32.77 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/1.023, allocations: 3.938 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/1.023, allocations: 70.64 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/1.023, allocations: 0 / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002061/1.024, allocations: 94.95 kB / 1.357 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/1.024, allocations: 59.91 kB / 1.357 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/1.024, allocations: 108.7 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/1.024, allocations: 25.7 kB / 1.357 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/1.024, allocations: 96.38 kB / 1.357 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/1.024, allocations: 20.27 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.024, allocations: 0 / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.024, allocations: 320.7 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/1.024, allocations: 18.88 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/1.024, allocations: 52 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/1.024, allocations: 21.27 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.024, allocations: 0 / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001174/1.024, allocations: 91.14 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.024, allocations: 7.719 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.024, allocations: 0 / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.024, allocations: 3.844 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/1.024, allocations: 21.36 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.024, allocations: 0 / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/1.024, allocations: 9.078 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.024, allocations: 4.594 kB / 1.358 GB, free: 32.16 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.169e-05/1.024, allocations: 114.9 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/1.024, allocations: 8.297 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/1.024, allocations: 13.19 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.024, allocations: 0 / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.025, allocations: 0 / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.025, allocations: 0.5625 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/1.025, allocations: 347.7 kB / 1.358 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.025, allocations: 4 kB / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/1.025, allocations: 17.38 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.025, allocations: 0 / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.025, allocations: 1.734 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.025, allocations: 0 / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.025, allocations: 3.938 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/1.025, allocations: 193 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/1.025, allocations: 81.67 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/1.025, allocations: 8.5 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/1.025, allocations: 5.578 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/1.025, allocations: 5.031 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.025, allocations: 5.578 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.401e-05/1.025, allocations: 92.3 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 3.844 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002838/1.026, allocations: 48.38 kB / 1.359 GB, free: 31.43 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.0003315/1.026, allocations: 172.2 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001184/1.026, allocations: 51.27 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/1.026, allocations: 0 / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/1.026, allocations: 24.67 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/1.026, allocations: 16.89 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/1.027, allocations: 109.9 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/1.027, allocations: 0.6892 MB / 1.36 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.864e-05/1.027, allocations: 6.969 kB / 1.36 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/1.027, allocations: 15.25 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.027, allocations: 0 / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.003411/1.03, allocations: 1.535 MB / 1.361 GB, free: 30.37 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