Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001136/0.001136, allocations: 114 kB / 16.42 MB, free: 6.449 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.001148/0.001148, allocations: 192.4 kB / 17.35 MB, free: 5.734 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.17 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.419/2.419, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 60.12 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.6818, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002474/0.6843, allocations: 1.486 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.6856, allocations: 0.7245 MB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.6856, allocations: 0 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.6857, allocations: 3.938 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.6858, allocations: 19.86 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.6863, allocations: 119.6 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.6864, allocations: 71.72 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.6865, allocations: 15.98 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.6866, allocations: 27.86 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.6867, allocations: 39.83 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.6867, allocations: 8 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.6869, allocations: 91.91 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.6869, allocations: 19.92 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.687, allocations: 27.86 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.6872, allocations: 143.4 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6872, allocations: 0 / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6872, allocations: 0 / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6873, allocations: 0 / 1.17 GB, free: 1.059 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.0005638/0.6878, allocations: 444.5 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6879, allocations: 8.031 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.6879, allocations: 8.844 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.688, allocations: 172.2 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.6881, allocations: 4.375 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.6881, allocations: 4.375 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.6883, allocations: 77.94 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6883, allocations: 7.922 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.6883, allocations: 4 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.6883, allocations: 3.938 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.6885, allocations: 43.97 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.689, allocations: 288.8 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.6891, allocations: 46.55 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.6892, allocations: 36.91 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.6892, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.6894, allocations: 75.38 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.6894, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003925/0.6898, allocations: 137.6 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.6899, allocations: 51.41 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.69, allocations: 129.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.69, allocations: 33.64 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.69, allocations: 92.08 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.6901, allocations: 19.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.6901, allocations: 25.72 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.6902, allocations: 318.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.6903, allocations: 31.98 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.6904, allocations: 57.58 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.6906, allocations: 93.06 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6906, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002264/0.6908, allocations: 109.4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6908, allocations: 8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6908, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6909, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.691, allocations: 24.08 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.691, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.691, allocations: 11.88 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.6911, allocations: 7.984 kB / 1.172 GB, free: 14.45 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.pDown,$PRE.bli.pDown,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.371e-05/0.6912, allocations: 117.8 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.6912, allocations: 7.906 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.6912, allocations: 8.375 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6912, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6912, allocations: 8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.6913, allocations: 84.95 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.6913, allocations: 3.984 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.6914, allocations: 7.938 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.6914, allocations: 11.98 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000287/0.6917, allocations: 180.9 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002966/0.692, allocations: 274.8 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.739e-05/0.6921, allocations: 43.91 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.6922, allocations: 95.42 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of Backend: time 2.71e-07/0.6922, allocations: 0 / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006142/0.6928, allocations: 181.5 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004404/0.6933, allocations: 0.6221 MB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.003887/0.6972, allocations: 1.442 MB / 1.175 GB, free: 11.29 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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