Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.001909/0.001909, 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.002317/0.002317, allocations: 216.9 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.133/3.133, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [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.002033/0.002033, allocations: 71.45 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2997, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002794/0.3025, allocations: 1.532 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3039, allocations: 0.7245 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.304, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.906e-05/0.304, allocations: 11.86 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.3041, allocations: 11.88 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.3046, allocations: 139.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.3047, allocations: 95.7 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.241e-05/0.3048, allocations: 12.22 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.305, allocations: 55.84 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.305, allocations: 43.77 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.305, allocations: 8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.3053, allocations: 143.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.3054, allocations: 35.86 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.3054, allocations: 43.67 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.3057, allocations: 211 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3057, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3057, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3057, allocations: 0 / 1.33 GB, free: 13.94 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.000686/0.3064, allocations: 465.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3065, allocations: 8.031 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.3068, allocations: 36.78 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.3071, allocations: 146.3 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3071, allocations: 8.375 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3071, allocations: 8.375 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.3075, allocations: 210.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3075, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3075, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3075, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.3077, allocations: 119.9 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.3082, allocations: 280.2 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3085, allocations: 130.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3086, allocations: 112.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3087, allocations: 3.938 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.309, allocations: 227.3 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.453e-06/0.309, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.000914/0.3099, allocations: 0.5618 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.31, allocations: 91.45 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3101, allocations: 151.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.3102, allocations: 57.69 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.3102, allocations: 101.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3103, allocations: 107.2 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3105, allocations: 102.1 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3106, allocations: 346.8 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.3109, allocations: 177 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3113, allocations: 269.6 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.3119, allocations: 0.5037 MB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3119, allocations: 4.031 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007942/0.3127, allocations: 0.5335 MB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3128, allocations: 4 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3128, allocations: 8 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3128, allocations: 7.984 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3129, allocations: 36.08 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3129, allocations: 4 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3131, allocations: 43.62 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3131, allocations: 15.98 kB / 1.335 GB, free: 8.871 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.0002251/0.3133, allocations: 215.5 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3133, allocations: 11.91 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.3134, allocations: 18.3 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3134, allocations: 0 / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3134, allocations: 3.938 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3134, allocations: 27.73 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.3135, allocations: 27.98 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.3136, allocations: 15.98 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3136, allocations: 11.92 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007203/0.3143, allocations: 466.4 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006978/0.315, allocations: 0.5587 MB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001733/0.3152, allocations: 103.8 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.024e-05/0.3153, allocations: 105.6 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/0.3153, allocations: 0 / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009738/0.3162, allocations: 384.6 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of SimCode: time 0.000758/0.317, allocations: 0.7612 MB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of Templates: time 0.00629/0.3233, allocations: 2.548 MB / 1.34 GB, free: 3.617 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.636538714003109]