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.0014/0.0014, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001497/0.001497, allocations: 216.7 kB / 22.99 MB, free: 4.945 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.771/2.771, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] 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.002127/0.002127, allocations: 70.47 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2967, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002855/0.2996, allocations: 1.526 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3012, allocations: 0.7652 MB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.3012, allocations: 0 / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.3012, allocations: 7.875 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.3013, allocations: 19.86 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.3019, allocations: 155.5 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.302, allocations: 95.69 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.3021, allocations: 15.88 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3023, allocations: 51.89 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.3023, allocations: 35.83 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3024, allocations: 11.94 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.3026, allocations: 139.8 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.3027, allocations: 23.97 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.3027, allocations: 31.86 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.303, allocations: 167.4 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.303, allocations: 0 / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.303, allocations: 0 / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.303, allocations: 0 / 1.287 GB, free: 8.934 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.0006447/0.3037, allocations: 389.2 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3037, allocations: 8.031 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.304, allocations: 32.86 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3042, allocations: 134.4 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.3043, allocations: 12.36 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3043, allocations: 4.375 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.3045, allocations: 89.89 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3045, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3045, allocations: 7.984 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3045, allocations: 3.938 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.3047, allocations: 51.89 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.3052, allocations: 252.5 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.3054, allocations: 62.58 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3055, allocations: 48.77 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3055, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3057, allocations: 87.36 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3057, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005107/0.3062, allocations: 197.5 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3063, allocations: 55.41 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3064, allocations: 129.8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3064, allocations: 29.7 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3065, allocations: 92.38 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3065, allocations: 23.83 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.3066, allocations: 33.7 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3067, allocations: 314.8 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.3068, allocations: 31.97 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3069, allocations: 76.47 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3071, allocations: 113.9 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3071, allocations: 0 / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002883/0.3074, allocations: 141.9 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3074, allocations: 8 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3074, allocations: 4 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3075, allocations: 4 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.3075, allocations: 23.92 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3076, allocations: 0 / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.3076, allocations: 11.94 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3076, allocations: 4 kB / 1.289 GB, free: 6.277 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.0001181/0.3078, allocations: 133.7 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.3078, allocations: 11.98 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.3078, allocations: 8.375 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3078, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3078, allocations: 4 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3078, allocations: 0 / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.3084, allocations: 378.1 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3084, allocations: 4 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.3084, allocations: 3.938 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3084, allocations: 4 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3085, allocations: 8.078 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3085, allocations: 3.938 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3085, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.3088, allocations: 263.3 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.3089, allocations: 7.953 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.3089, allocations: 4 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.309, allocations: 7.938 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.309, allocations: 7.984 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.309, allocations: 7.984 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.346e-05/0.3091, allocations: 95.27 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3091, allocations: 8 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003244/0.3094, allocations: 39.88 kB / 1.29 GB, free: 5.23 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.0003794/0.3098, allocations: 179.2 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3101, allocations: 91.95 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3101, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3102, allocations: 39.98 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3105, allocations: 17.86 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.311, allocations: 234.3 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.284e-05/0.3111, allocations: 79.52 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.3111, allocations: 15.42 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3111, allocations: 0 / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.003966/0.3151, allocations: 1.824 MB / 1.292 GB, free: 2.73 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/jenkins1/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: 11.572954348288476]