Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 110.5 kB / 16.42 MB, free: 5.977 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.001311/0.001311, allocations: 184.9 kB / 17.35 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 60.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6961, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002426/0.6986, allocations: 1.502 MB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.6997, allocations: 0.7323 MB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.6998, allocations: 3.938 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.6998, allocations: 7.938 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.6999, allocations: 11.86 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.7004, allocations: 131.5 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.7005, allocations: 71.78 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.7006, allocations: 12.17 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.7007, allocations: 35.91 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.7007, allocations: 35.84 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.7008, allocations: 8 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.701, allocations: 91.84 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.701, allocations: 19.92 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.701, allocations: 35.84 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.7013, allocations: 152 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7013, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7013, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7013, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 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.000548/0.7018, allocations: 454.4 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.7019, allocations: 8.625 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.7019, allocations: 8.891 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.702, allocations: 180.2 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.7021, allocations: 8.375 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.7021, allocations: 4.375 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.7023, allocations: 65.78 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.7023, allocations: 0 / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.7023, allocations: 15.98 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.7023, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.7025, allocations: 35.97 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.7029, allocations: 304.7 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.7031, allocations: 50.56 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.7032, allocations: 36.97 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.7032, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.7034, allocations: 83.36 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7034, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003962/0.7038, allocations: 141.5 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.7038, allocations: 63.47 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.7039, allocations: 131.4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.704, allocations: 29.7 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.704, allocations: 88.14 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.704, allocations: 15.84 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.7041, allocations: 25.7 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.7042, allocations: 326.8 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.7043, allocations: 23.98 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.7044, allocations: 57.14 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.7045, allocations: 97 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7045, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002189/0.7048, allocations: 117.5 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7048, allocations: 8 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7048, allocations: 3.984 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.7048, allocations: 8.156 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.7049, allocations: 15.98 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.7049, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.705, allocations: 11.94 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.705, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.258e-05/0.7051, allocations: 121.8 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.7051, allocations: 11.89 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.7051, allocations: 8.375 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.7051, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7052, allocations: 0 / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.7052, allocations: 85.06 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.7052, allocations: 7.922 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.7053, allocations: 8 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.7053, allocations: 7.984 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002952/0.7056, allocations: 193.2 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003043/0.706, allocations: 286.7 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.701e-05/0.7061, allocations: 47.91 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.7061, allocations: 96.45 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of Backend: time 2.11e-07/0.7061, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006062/0.7067, allocations: 191.3 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000426/0.7072, allocations: 0.6098 MB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of Templates: time 0.003888/0.7111, allocations: 1.486 MB / 1.175 GB, free: 11.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,occ.y,time