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.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001013/0.001013, allocations: 174.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.0007912/0.0007912, allocations: 90.52 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.908e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7975/0.9879, allocations: 133.7 MB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.9883, allocations: 88.12 kB / 1.022 GB, free: 1 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.009783/0.9981, allocations: 3.062 MB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9982, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.9982, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.6511 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.0005535/0.9987, allocations: 441.3 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.9988, allocations: 12.03 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.9988, allocations: 15.84 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.999, allocations: 175 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.999, allocations: 7.938 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.9991, allocations: 7.125 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.9992, allocations: 78.83 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.9993, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.9993, allocations: 3.25 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.9993, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.9994, allocations: 35.55 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/1, allocations: 328.2 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/1, allocations: 56.75 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/1, allocations: 39.42 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/1, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/1, allocations: 92.97 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/1, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003062/1.001, allocations: 138 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/1.001, allocations: 59.34 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.001, allocations: 115.7 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/1.001, allocations: 29.7 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/1.001, allocations: 91.45 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/1.001, allocations: 27.39 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/1.001, allocations: 7.125 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.001, allocations: 318.2 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/1.001, allocations: 18.88 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/1.001, allocations: 69.14 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/1.001, allocations: 34.42 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.001, allocations: 0 / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001896/1.002, allocations: 114.5 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.002, allocations: 4 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.002, allocations: 3.984 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.002, allocations: 4.156 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.002, allocations: 19.94 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.002, allocations: 4 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/1.002, allocations: 15.5 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.002, allocations: 4 kB / 1.028 GB, free: 12 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.084e-05/1.002, allocations: 122.5 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/1.002, allocations: 7.906 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/1.002, allocations: 16.08 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.002, allocations: 3.984 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.002, allocations: 4 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.002, allocations: 0 / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/1.003, allocations: 425.4 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.003, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/1.003, allocations: 4.188 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.003, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.003, allocations: 11.73 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/1.003, allocations: 8 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.003, allocations: 3.953 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/1.003, allocations: 225.5 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/1.003, allocations: 85.02 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.003, allocations: 0 / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.003, allocations: 15.31 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/1.003, allocations: 7.938 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.003, allocations: 11.98 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.421e-05/1.003, allocations: 99.16 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.003, allocations: 0 / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003232/1.004, allocations: 55.61 kB / 1.029 GB, free: 10.93 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.0003797/1.004, allocations: 163.4 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002047/1.004, allocations: 81.08 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.004, allocations: 0 / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/1.004, allocations: 41 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/1.005, allocations: 14.92 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/1.005, allocations: 122.2 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/1.005, allocations: 0.7047 MB / 1.03 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.991e-05/1.005, allocations: 4 kB / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/1.005, allocations: 15.42 kB / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/1.005, allocations: 0 / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of Templates: time 0.004897/1.01, allocations: 1.762 MB / 1.032 GB, free: 8.059 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