Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.654/1.654, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 176.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009844/0.0009843, allocations: 90.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.244e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7867/1.017, allocations: 134 MB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/1.017, allocations: 81.77 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.00865/1.025, allocations: 3.041 MB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.881e-06/1.026, allocations: 0 / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.026, allocations: 7.938 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005293/1.026, allocations: 433.5 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.026, allocations: 12.03 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/1.026, allocations: 19.77 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/1.026, allocations: 175 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/1.026, allocations: 0 / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/1.026, allocations: 8 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/1.026, allocations: 35.23 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.027, allocations: 69.22 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.027, allocations: 4 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.027, allocations: 0 / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.027, allocations: 0 / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/1.027, allocations: 300.7 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/1.027, allocations: 65.53 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/1.027, allocations: 36.05 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/1.027, allocations: 0 / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/1.028, allocations: 84.47 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/1.028, allocations: 0 / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003589/1.028, allocations: 128.6 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/1.028, allocations: 59.39 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/1.028, allocations: 113.4 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.028, allocations: 37.52 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/1.028, allocations: 84.12 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/1.028, allocations: 27.27 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/1.028, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.028, allocations: 322.7 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/1.029, allocations: 19.69 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/1.029, allocations: 68.52 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/1.029, allocations: 27.86 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.029, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001688/1.029, allocations: 108.9 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.029, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.029, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.029, allocations: 4 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/1.029, allocations: 19.86 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.029, allocations: 4.562 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/1.029, allocations: 11.98 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/1.029, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.857e-05/1.029, allocations: 120.9 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/1.029, allocations: 11.59 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/1.029, allocations: 8.5 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.029, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.029, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.029, allocations: 3.984 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/1.03, allocations: 393.2 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.03, allocations: 0 / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/1.03, allocations: 11.98 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.03, allocations: 3.938 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/1.03, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/1.03, allocations: 4 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.03, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/1.03, allocations: 229.9 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/1.03, allocations: 84.95 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/1.03, allocations: 8 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/1.03, allocations: 7.984 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/1.03, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/1.03, allocations: 11.92 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.391e-05/1.031, allocations: 92.66 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/1.031, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003406/1.031, allocations: 55.48 kB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003783/1.031, allocations: 166.6 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001608/1.031, allocations: 71.11 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.031, allocations: 4 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/1.032, allocations: 35.38 kB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/1.032, allocations: 17.89 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/1.032, allocations: 115.6 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.032, allocations: 0.6963 MB / 1.023 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.924e-05/1.032, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/1.032, allocations: 15.42 kB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.032, allocations: 3.938 kB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of Templates: time 0.004221/1.037, allocations: 1.732 MB / 1.025 GB, free: 11.18 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:H.amplitude,H.freqHz,H.offset,H.phase,H.startTime,H.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.H,bli.blindState,bli.occ,bli.pUp,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time