Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008467/0.0008467, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008441/0.0008441, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8566/0.8566, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.617/1.617, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 4 kB / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.394e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001613/0.001627, allocations: 1.51 MB / 0.9532 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.002522, allocations: 0.795 MB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.002577, allocations: 0 / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.002606, allocations: 7.875 kB / 0.954 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.002656, allocations: 23.78 kB / 0.954 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.003139, allocations: 143.5 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.003248, allocations: 95.69 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.003328, allocations: 11.98 kB / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.003445, allocations: 59.88 kB / 0.9543 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.003498, allocations: 39.88 kB / 0.9543 GB, free: 348 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.003516, allocations: 8 kB / 0.9543 GB, free: 340 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.003696, allocations: 147.6 kB / 0.9545 GB, free: 192 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.003716, allocations: 19.92 kB / 0.9545 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.003749, allocations: 23.97 kB / 0.9545 GB, free: 148 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.003971, allocations: 183.4 kB / 0.9547 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003974, allocations: 0 / 0.9547 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003974, allocations: 0 / 0.9547 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003979, allocations: 3.938 kB / 0.9547 GB, free: 15.96 MB / 0.9167 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.000466/0.004445, allocations: 393.1 kB / 0.9551 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.004483, allocations: 16.03 kB / 0.9551 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.00466, allocations: 28.88 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.004815, allocations: 137.6 kB / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.004836, allocations: 384 / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004851, allocations: 12.38 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.004998, allocations: 86.12 kB / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.005006, allocations: 192 / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.005018, allocations: 4.375 kB / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.005025, allocations: 7.938 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.00511, allocations: 47.97 kB / 0.9554 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.005439, allocations: 248.4 kB / 0.9556 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.005548, allocations: 62.58 kB / 0.9557 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.005603, allocations: 36.84 kB / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.005623, allocations: 4 kB / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.005739, allocations: 103.3 kB / 0.9558 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.00574, allocations: 0 / 0.9558 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003135/0.006053, allocations: 185.5 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.006086, allocations: 59.39 kB / 0.9561 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.006156, allocations: 132.7 kB / 0.9562 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.006168, allocations: 29.7 kB / 0.9562 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.006212, allocations: 100.8 kB / 0.9563 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.006231, allocations: 23.84 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006265, allocations: 29.66 kB / 0.9564 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.00634, allocations: 322.8 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.006387, allocations: 39.92 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.006452, allocations: 69.98 kB / 0.9568 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.006562, allocations: 109.9 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006564, allocations: 0 / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001516/0.006715, allocations: 149.5 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.006729, allocations: 8 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006733, allocations: 0 / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.006745, allocations: 4 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.006798, allocations: 11.94 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.006804, allocations: 7.984 kB / 0.957 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.006836, allocations: 7.953 kB / 0.9571 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.006847, allocations: 12.16 kB / 0.9571 GB, free: 13.29 MB / 0.9167 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 (bli.curSeed,$PRE.bli.curSeed,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 (15): * Single equations (assignments): 15 * 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 6.413e-05/0.006911, allocations: 121.8 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.006923, allocations: 11.89 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.006943, allocations: 16.42 kB / 0.9572 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006945, allocations: 0 / 0.9572 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006948, allocations: 0 / 0.9572 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006951, allocations: 0 / 0.9572 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.007512, allocations: 374 kB / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007512, allocations: 4 kB / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.007531, allocations: 7.984 kB / 0.9576 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.007532, allocations: 0 / 0.9576 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.007541, allocations: 4 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007542, allocations: 0 / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007544, allocations: 3.984 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.007736, allocations: 255.3 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.007746, allocations: 11.94 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.007761, allocations: 4 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.007807, allocations: 4.188 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.007837, allocations: 7.984 kB / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.007844, allocations: 7.938 kB / 0.9579 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.007882, allocations: 103.2 kB / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007882, allocations: 3.938 kB / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001922/0.008074, allocations: 47.83 kB / 0.958 GB, free: 12.26 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/0.008302, allocations: 175.2 kB / 0.9582 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.008458, allocations: 87.83 kB / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.00846, allocations: 0 / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.008525, allocations: 43.97 kB / 0.9583 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.008711, allocations: 28.03 kB / 0.9583 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.009025, allocations: 231.4 kB / 0.9585 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.009074, allocations: 79.27 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.009096, allocations: 12.5 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of SimCode: time 3.01e-07/0.009096, allocations: 0 / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of Templates: time 0.002338/0.01143, allocations: 1.852 MB / 0.9604 GB, free: 9.727 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.581390969455242]