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.001747/0.001747, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001714/0.001714, allocations: 215.8 kB / 22.25 MB, free: 4.859 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002129/0.002129, allocations: 67.17 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3448, allocations: 169.9 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.004344/0.3492, allocations: 1.526 MB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.3514, allocations: 0.7614 MB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3515, allocations: 3.938 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.3515, allocations: 7.875 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.3516, allocations: 15.86 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.3525, allocations: 151.5 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3527, allocations: 99.7 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3528, allocations: 15.88 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.353, allocations: 59.83 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3531, allocations: 35.83 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.3531, allocations: 11.94 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.3535, allocations: 139.8 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.3536, allocations: 15.98 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.3537, allocations: 31.86 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.3541, allocations: 171.4 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3541, allocations: 0 / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3541, allocations: 4 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3541, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 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.0008508/0.355, allocations: 389.2 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.355, allocations: 8.031 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/0.3555, allocations: 32.86 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3558, allocations: 126.4 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.3558, allocations: 16.36 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.3559, allocations: 4.375 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.3562, allocations: 93.89 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3562, allocations: 0 / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.3562, allocations: 3.984 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3562, allocations: 7.938 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.3564, allocations: 43.97 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.3571, allocations: 252.4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3574, allocations: 66.47 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.3575, allocations: 40.83 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3575, allocations: 4 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003458/0.3579, allocations: 99.33 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.3579, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007062/0.3586, allocations: 189.5 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3586, allocations: 55.41 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3588, allocations: 133.8 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.3589, allocations: 29.7 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.359, allocations: 96.38 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.359, allocations: 19.83 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.3591, allocations: 33.7 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3593, allocations: 322.8 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3594, allocations: 23.98 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.3596, allocations: 76.39 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3599, allocations: 113.8 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3599, allocations: 4 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003834/0.3603, allocations: 133.4 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3603, allocations: 8 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3603, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.3604, allocations: 4.156 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3605, allocations: 23.92 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3605, allocations: 0 / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3606, allocations: 11.94 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3606, allocations: 8 kB / 1.288 GB, free: 6.352 MB / 0.9825 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.000157/0.3608, allocations: 131.7 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3608, allocations: 7.953 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.3608, allocations: 12.38 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3608, allocations: 0 / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3608, allocations: 4 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3609, allocations: 0 / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.3616, allocations: 382.5 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3616, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.3617, allocations: 7.938 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3617, allocations: 96 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3617, allocations: 11.92 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3617, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3617, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.3622, allocations: 267.2 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.3623, allocations: 7.953 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.3623, allocations: 4.094 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3624, allocations: 11.98 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3625, allocations: 7.984 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3625, allocations: 3.984 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001251/0.3626, allocations: 99.27 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3626, allocations: 0 / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004845/0.3631, allocations: 43.88 kB / 1.289 GB, free: 5.305 MB / 0.9825 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.000508/0.3636, allocations: 173.3 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.364, allocations: 91.86 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.364, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.3642, allocations: 43.92 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3646, allocations: 26.53 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.3653, allocations: 196.7 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.3654, allocations: 75.33 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.335e-05/0.3654, allocations: 8.656 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.3655, allocations: 15.44 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.3655, allocations: 0 / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of Templates: time 0.007245/0.3727, allocations: 1.796 MB / 1.292 GB, free: 2.887 MB / 0.9825 GB " [Timeout remaining time 299] 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: 9.135723678395152]