Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009793/0.0009795, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5698, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001451/0.5713, allocations: 1.188 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.5723, allocations: 0.6707 MB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.5723, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.5724, allocations: 7.922 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/0.5724, allocations: 11.97 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.5729, allocations: 91.64 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.573, allocations: 39.95 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.5731, allocations: 19.97 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.5731, allocations: 27.92 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.5732, allocations: 27.84 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.5732, allocations: 4 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.5734, allocations: 67.92 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.5734, allocations: 11.92 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.5735, allocations: 37.7 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.5736, allocations: 93.73 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.5736, allocations: 0 / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5736, allocations: 0 / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.5737, allocations: 4 kB / 1.023 GB, free: 14.78 MB / 0.7794 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.0005404/0.5742, allocations: 440.5 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5742, allocations: 15.98 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.5743, allocations: 7.906 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.5744, allocations: 171 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.5744, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.5745, allocations: 11.94 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.5747, allocations: 77.64 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.5747, allocations: 3.938 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.5747, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5747, allocations: 3.984 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.5749, allocations: 39.97 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.5754, allocations: 308.7 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.5755, allocations: 54.55 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5755, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.5757, allocations: 79.5 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.5757, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003984/0.5761, allocations: 141.6 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.5762, allocations: 67.39 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.5763, allocations: 129.7 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.5763, allocations: 25.7 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.5764, allocations: 88.33 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.5764, allocations: 15.8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.5764, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5765, allocations: 314.8 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.5766, allocations: 31.98 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.5767, allocations: 61.12 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.81e-05/0.5768, allocations: 43.88 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5768, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002214/0.577, allocations: 117.4 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5771, allocations: 8 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5771, allocations: 160 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5771, allocations: 8 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.5772, allocations: 12 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5772, allocations: 7.984 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.5773, allocations: 11.84 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5773, allocations: 4 kB / 1.025 GB, free: 12.27 MB / 0.7794 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.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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 8.358e-05/0.5774, allocations: 125.7 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.5774, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.5774, allocations: 20.36 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5774, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5775, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5775, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.5779, allocations: 386.3 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5779, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.578, allocations: 12 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.578, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.578, allocations: 11.92 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5781, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5781, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.5783, allocations: 215.4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.5784, allocations: 88.94 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.5784, allocations: 0 / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.5785, allocations: 8 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.5785, allocations: 7.984 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5786, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.5786, allocations: 95.2 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5786, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003616/0.579, allocations: 36 kB / 1.026 GB, free: 11.18 MB / 0.7794 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,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0003107/0.5793, allocations: 160.9 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.5796, allocations: 80.08 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5796, allocations: 0 / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.5797, allocations: 39.97 kB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.5799, allocations: 11.94 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.5802, allocations: 219.1 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.5805, allocations: 0.6893 MB / 1.027 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.5805, allocations: 4.188 kB / 1.027 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.5806, allocations: 19.38 kB / 1.027 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5806, allocations: 0 / 1.027 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.004217/0.5848, allocations: 1.319 MB / 1.029 GB, free: 8.605 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time