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.001287/0.001287, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001534/0.001534, allocations: 217.7 kB / 23.01 MB, free: 4.609 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.778/2.778, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.002052/0.002052, allocations: 67.2 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002654/0.2837, allocations: 1.544 MB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2851, allocations: 0.8313 MB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.2852, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.2852, allocations: 3.938 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.2853, allocations: 23.8 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.2858, allocations: 147.6 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.286, allocations: 95.7 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.085e-05/0.2861, allocations: 11.92 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2862, allocations: 55.84 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.2863, allocations: 51.75 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2863, allocations: 8 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.2866, allocations: 143.8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.2866, allocations: 23.97 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.2867, allocations: 39.8 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2869, allocations: 163.5 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2869, allocations: 0 / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2869, allocations: 0 / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.2869, allocations: 0 / 1.288 GB, free: 8.121 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.0005998/0.2875, allocations: 389.2 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2876, allocations: 12.03 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.2879, allocations: 32.86 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.2881, allocations: 138.3 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.2882, allocations: 8.375 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2882, allocations: 8.375 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.2886, allocations: 89.89 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2886, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.2887, allocations: 3.984 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2887, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.289, allocations: 51.91 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.2898, allocations: 291.8 kB / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.2901, allocations: 58.55 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.2903, allocations: 36.84 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2904, allocations: 8 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.2907, allocations: 99.55 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.2907, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008751/0.2916, allocations: 185.5 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.2916, allocations: 63.33 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2918, allocations: 132 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.2919, allocations: 33.7 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.292, allocations: 100.3 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.292, allocations: 15.91 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.2921, allocations: 33.7 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.2923, allocations: 322.8 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2924, allocations: 23.98 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.2927, allocations: 81.92 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.293, allocations: 109.9 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.293, allocations: 0 / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005045/0.2935, allocations: 133.4 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2935, allocations: 6.406 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2936, allocations: 0 / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2936, allocations: 7.938 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2937, allocations: 20.14 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.2937, allocations: 7.938 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.2939, allocations: 15.92 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.2939, allocations: 4 kB / 1.29 GB, free: 5.41 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.0001678/0.2941, allocations: 129.7 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.2941, allocations: 7.953 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.2941, allocations: 8.469 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2941, allocations: 3.984 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.2942, allocations: 11.98 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2942, allocations: 0 / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009718/0.2951, allocations: 409.3 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2951, allocations: 0 / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.2952, allocations: 4 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2952, allocations: 0 / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.2952, allocations: 7.984 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2952, allocations: 0 / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2952, allocations: 7.938 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.2959, allocations: 247.4 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.2959, allocations: 7.953 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.296, allocations: 4 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.2961, allocations: 4 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2962, allocations: 11.86 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2962, allocations: 7.984 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001083/0.2963, allocations: 106.8 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2963, allocations: 3.938 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005793/0.2969, allocations: 39.94 kB / 1.291 GB, free: 4.332 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.0005152/0.2974, allocations: 164.5 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.2979, allocations: 95.88 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2979, allocations: 0 / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.2981, allocations: 43.92 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.2986, allocations: 11.98 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.2993, allocations: 238.5 kB / 1.292 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.2998, allocations: 0.6924 MB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.2998, allocations: 15.44 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.2998, allocations: 0 / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of Templates: time 0.00632/0.3061, allocations: 1.807 MB / 1.294 GB, free: 1.23 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.4624761879968]