Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002361/0.002361, allocations: 216.1 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 64.47 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002827/0.3027, allocations: 1.52 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3041, allocations: 0.7167 MB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.3042, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.3043, allocations: 7.875 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.3043, allocations: 19.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.3049, allocations: 139.6 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.305, allocations: 95.7 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3051, allocations: 12.22 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3053, allocations: 55.84 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.3054, allocations: 43.83 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3054, allocations: 8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3057, allocations: 143.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.3057, allocations: 35.86 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.3058, allocations: 47.73 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.3061, allocations: 203.1 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3061, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3061, allocations: 3.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3061, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007258/0.3068, allocations: 461.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3069, allocations: 8.031 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/0.3072, allocations: 36.78 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3075, allocations: 152.2 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3075, allocations: 8.375 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3075, allocations: 4.375 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.3079, allocations: 218.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3079, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3079, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3079, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.3081, allocations: 119.9 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.3087, allocations: 288.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3089, allocations: 126.5 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.309, allocations: 108.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3091, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.3094, allocations: 231.2 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.3094, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.0008923/0.3103, allocations: 0.554 MB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.3104, allocations: 103.4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3105, allocations: 146 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.3106, allocations: 61.77 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3106, allocations: 93.08 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3107, allocations: 107.2 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3108, allocations: 106.1 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.311, allocations: 342.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.3113, allocations: 177 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.3116, allocations: 273.6 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/0.3123, allocations: 0.5037 MB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.3123, allocations: 3.938 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008064/0.3131, allocations: 0.5414 MB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3131, allocations: 4 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3132, allocations: 4 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3132, allocations: 4 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3133, allocations: 31.86 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.3133, allocations: 4 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3135, allocations: 43.62 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.3135, allocations: 12 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 79 (bli.state[33],$PRE.bli.state[33],bli.state[32],$PRE.bli.state[32],bli.state[31],$PRE.bli.state[31],bli.state[30],$PRE.bli.state[30],bli.state[29],$PRE.bli.state[29],bli.state[28],$PRE.bli.state[28],bli.state[27],$PRE.bli.state[27],bli.state[26],$PRE.bli.state[26],bli.state[25],$PRE.bli.state[25],bli.state[24],$PRE.bli.state[24],bli.state[23],$PRE.bli.state[23],bli.state[22],$PRE.bli.state[22],bli.state[21],$PRE.bli.state[21],bli.state[20],$PRE.bli.state[20],bli.state[19],$PRE.bli.state[19],bli.state[18],$PRE.bli.state[18],bli.state[17],$PRE.bli.state[17],bli.state[16],$PRE.bli.state[16],bli.state[15],$PRE.bli.state[15],bli.state[14],$PRE.bli.state[14],bli.state[13],$PRE.bli.state[13],bli.state[12],$PRE.bli.state[12],bli.state[11],$PRE.bli.state[11],bli.state[10],$PRE.bli.state[10],bli.state[9],$PRE.bli.state[9],bli.state[8],$PRE.bli.state[8],bli.state[7],$PRE.bli.state[7],bli.state[6],$PRE.bli.state[6],bli.state[5],$PRE.bli.state[5],bli.state[4],$PRE.bli.state[4],bli.state[3],$PRE.bli.state[3],bli.state[2],$PRE.bli.state[2],bli.state[1],$PRE.bli.state[1],bli.ran,$PRE.bli.ran,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (49): * Single equations (assignments): 48 * Array equations: 1 * 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 0.0002285/0.3137, allocations: 211.6 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3137, allocations: 19.89 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.3138, allocations: 14.31 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3138, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3138, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.3138, allocations: 23.73 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.3139, allocations: 31.98 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.3139, allocations: 11.98 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.314, allocations: 15.86 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006574/0.3146, allocations: 466.4 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006937/0.3153, allocations: 0.5626 MB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001787/0.3155, allocations: 107.7 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.808e-05/0.3156, allocations: 105.3 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.3156, allocations: 0 / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000951/0.3165, allocations: 393.1 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of SimCode: time 0.000759/0.3173, allocations: 0.7446 MB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of Templates: time 0.006237/0.3235, allocations: 2.546 MB / 1.34 GB, free: 3.613 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.649492143995303]