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.001419/0.001419, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.001543/0.001543, allocations: 163.2 kB / 22.46 MB, free: 5.359 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.899/2.899, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] 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 1.282e-06/1.282e-06, allocations: 0 / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.428e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00274/0.002764, allocations: 1.516 MB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.004424, allocations: 0.7873 MB / 0.9532 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.004491, allocations: 0 / 0.9532 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.004525, allocations: 7.938 kB / 0.9532 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.004593, allocations: 15.84 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.00528, allocations: 155.3 kB / 0.9534 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.005459, allocations: 99.69 kB / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.005547, allocations: 11.98 kB / 0.9535 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.005729, allocations: 59.88 kB / 0.9535 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.005812, allocations: 35.88 kB / 0.9536 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.005838, allocations: 8 kB / 0.9536 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.006157, allocations: 143.7 kB / 0.9537 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.00619, allocations: 15.98 kB / 0.9537 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.006246, allocations: 27.91 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.006593, allocations: 179.5 kB / 0.9539 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006596, allocations: 4 kB / 0.9539 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.21e-07/0.006597, allocations: 0 / 0.9539 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.006604, allocations: 3.984 kB / 0.9539 GB, free: 8.57 MB / 0.8575 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.0007176/0.007321, allocations: 397.1 kB / 0.9543 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.007362, allocations: 8.031 kB / 0.9543 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.007695, allocations: 32.86 kB / 0.9543 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.007928, allocations: 137.6 kB / 0.9545 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.007954, allocations: 4.375 kB / 0.9545 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.007985, allocations: 16.36 kB / 0.9545 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.008241, allocations: 82.14 kB / 0.9546 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.008251, allocations: 192 / 0.9546 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.008269, allocations: 12.31 kB / 0.9546 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.008275, allocations: 3.938 kB / 0.9546 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.008434, allocations: 43.97 kB / 0.9546 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.008952, allocations: 240.5 kB / 0.9548 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.009151, allocations: 66.58 kB / 0.9549 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.009329, allocations: 40.84 kB / 0.955 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.009355, allocations: 3.984 kB / 0.955 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.009567, allocations: 95.3 kB / 0.955 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.009569, allocations: 0 / 0.955 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005537/0.01012, allocations: 189.5 kB / 0.9552 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.01017, allocations: 55.41 kB / 0.9553 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01031, allocations: 141.7 kB / 0.9554 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.01033, allocations: 29.7 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.01041, allocations: 92.53 kB / 0.9555 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.01045, allocations: 27.83 kB / 0.9556 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.0105, allocations: 29.72 kB / 0.9556 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.01066, allocations: 318.8 kB / 0.9559 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/0.01075, allocations: 35.91 kB / 0.9559 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.01088, allocations: 71.55 kB / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.0111, allocations: 113.9 kB / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0111, allocations: 0 / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002989/0.0114, allocations: 137.3 kB / 0.9562 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01141, allocations: 8 kB / 0.9562 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01142, allocations: 8.094 kB / 0.9562 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01144, allocations: 4 kB / 0.9563 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.01154, allocations: 20.36 kB / 0.9563 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01154, allocations: 3.938 kB / 0.9563 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.01162, allocations: 15.89 kB / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01163, allocations: 4 kB / 0.9563 GB, free: 5.902 MB / 0.8575 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 0.000128/0.01176, allocations: 129.6 kB / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.01179, allocations: 15.88 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.01183, allocations: 12.44 kB / 0.9564 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01183, allocations: 0 / 0.9564 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01184, allocations: 4 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01184, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.01241, allocations: 378 kB / 0.9568 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01242, allocations: 4 kB / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.01245, allocations: 0 / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01246, allocations: 7.938 kB / 0.9568 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01247, allocations: 3.984 kB / 0.9568 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01248, allocations: 0 / 0.9568 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01248, allocations: 4 kB / 0.9568 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.01289, allocations: 255.3 kB / 0.9571 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.0129, allocations: 11.94 kB / 0.9571 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01293, allocations: 0 / 0.9571 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01303, allocations: 8 kB / 0.9571 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.01308, allocations: 7.984 kB / 0.9571 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.01309, allocations: 7.984 kB / 0.9571 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.01e-05/0.01316, allocations: 95.27 kB / 0.9572 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01316, allocations: 4 kB / 0.9572 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003356/0.0135, allocations: 39.94 kB / 0.9572 GB, free: 4.875 MB / 0.8575 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.0004371/0.01394, allocations: 180.9 kB / 0.9574 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.01422, allocations: 95.81 kB / 0.9575 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01422, allocations: 320 / 0.9575 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01434, allocations: 43.98 kB / 0.9575 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.01464, allocations: 19.92 kB / 0.9576 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.01517, allocations: 189.2 kB / 0.9577 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.01524, allocations: 75.33 kB / 0.9578 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.01529, allocations: 16.72 kB / 0.9578 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.01532, allocations: 16.5 kB / 0.9578 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.01532, allocations: 0 / 0.9578 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.005906/0.02123, allocations: 1.762 MB / 0.9596 GB, free: 2.484 MB / 0.8575 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: 8.106519903987646]