Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 99.39 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.001444/0.001445, allocations: 177.3 kB / 15.94 MB, free: 228 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 8 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6689/0.6694, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001534/0.671, allocations: 1.207 MB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.6721, allocations: 0.6823 MB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.6721, allocations: 0 / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.6722, allocations: 11.92 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.6722, allocations: 7.984 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.6727, allocations: 99.69 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.511e-05/0.6728, allocations: 55.88 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.6729, allocations: 7.984 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.673, allocations: 39.91 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.6731, allocations: 43.83 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.6731, allocations: 7.984 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.6732, allocations: 63.94 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.6733, allocations: 19.84 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.6733, allocations: 41.64 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.6735, allocations: 101.8 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.6735, allocations: 0 / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6735, allocations: 4 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.6735, allocations: 0 / 1.023 GB, free: 14.73 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005499/0.6741, allocations: 454.4 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.6741, allocations: 11.98 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.6742, allocations: 7.906 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.6743, allocations: 171 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.6743, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.6743, allocations: 8 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.6745, allocations: 101.5 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.6746, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.6746, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6746, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.6748, allocations: 47.97 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.6753, allocations: 328.6 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.6755, allocations: 62.56 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.6755, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.6757, allocations: 99.34 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.965e-06/0.6757, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004938/0.6762, allocations: 197.5 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.6763, allocations: 63.33 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.6764, allocations: 125.8 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.6764, allocations: 33.69 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.6765, allocations: 92.53 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.6765, allocations: 23.64 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.6765, allocations: 4 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6766, allocations: 322.8 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.6767, allocations: 27.98 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.6769, allocations: 81.98 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.677, allocations: 35.98 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.677, allocations: 7.953 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002564/0.6772, allocations: 141.4 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6773, allocations: 8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6773, allocations: 160 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6773, allocations: 8.094 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.6774, allocations: 19.97 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6774, allocations: 8.312 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.6775, allocations: 11.94 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.6775, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 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,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 (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.738e-05/0.6776, allocations: 119.5 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.6777, allocations: 23.78 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.6777, allocations: 12.38 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.6777, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6777, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6777, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.6783, allocations: 438.3 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6783, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.6783, allocations: 11.92 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6783, allocations: 4 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.6784, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6784, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6784, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.6787, allocations: 267.3 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.6788, allocations: 84.95 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.6788, allocations: 4 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.6789, allocations: 11.92 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.679, allocations: 7.984 kB / 1.026 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.679, allocations: 4 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.679, allocations: 98.64 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.679, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003153/0.6794, allocations: 47.98 kB / 1.027 GB, free: 10.79 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * 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.0003225/0.6797, allocations: 157.4 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.68, allocations: 99.89 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.68, allocations: 4 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.6801, allocations: 43.98 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.6803, allocations: 12.5 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.6807, allocations: 233.2 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.681, allocations: 0.6926 MB / 1.028 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.681, allocations: 12.16 kB / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.681, allocations: 15.44 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6811, allocations: 0 / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of Templates: time 0.003835/0.6849, allocations: 1.57 MB / 1.029 GB, free: 7.934 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","../files/Buildings_latest_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.f,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,occ.y,time