Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.001593/0.001593, 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.001793/0.001793, allocations: 214.4 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.728/2.728, allocations: 476 MB / 0.7707 GB, free: 4.734 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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [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.002023/0.002023, allocations: 65.86 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2915, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002852/0.2944, allocations: 1.508 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.2962, allocations: 0.7807 MB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.2963, allocations: 0 / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.2963, allocations: 7.875 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.2964, allocations: 15.86 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.2969, allocations: 151.5 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.2971, allocations: 95.7 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.2972, allocations: 23.84 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.2973, allocations: 43.92 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.2974, allocations: 43.81 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2974, allocations: 8 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.2977, allocations: 135.8 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.2978, allocations: 31.91 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.2978, allocations: 31.84 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.2981, allocations: 159.5 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2981, allocations: 3.938 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2981, allocations: 0 / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2981, allocations: 0 / 1.287 GB, free: 8.859 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.0006347/0.2987, allocations: 393.2 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.2987, allocations: 8.031 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.2991, allocations: 28.88 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.2993, allocations: 138.4 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2993, allocations: 12.38 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.2994, allocations: 4.375 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2996, allocations: 97.81 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2996, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.2996, allocations: 4 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2996, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.2998, allocations: 43.97 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.3002, allocations: 252.5 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.3004, allocations: 66.52 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3005, allocations: 36.84 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3005, allocations: 0 / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.3007, allocations: 99.33 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3007, allocations: 3.938 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004838/0.3012, allocations: 193.5 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3013, allocations: 55.41 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3014, allocations: 133.8 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3014, allocations: 29.7 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.3015, allocations: 96.45 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.3015, allocations: 23.83 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.3016, allocations: 37.7 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3017, allocations: 314.8 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3018, allocations: 27.97 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3019, allocations: 79.83 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.3021, allocations: 109.9 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3021, allocations: 0 / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002634/0.3024, allocations: 141.5 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3024, allocations: 8.375 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3024, allocations: 0 / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3024, allocations: 4 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.308e-05/0.3025, allocations: 15.98 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3025, allocations: 7.875 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.3026, allocations: 15.94 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3026, allocations: 4 kB / 1.289 GB, free: 6.195 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.0001073/0.3027, allocations: 132.1 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3028, allocations: 11.95 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.3028, allocations: 4.375 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3028, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3028, allocations: 4 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3028, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.3034, allocations: 374 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3034, allocations: 0 / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.3034, allocations: 7.938 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3034, allocations: 4 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3034, allocations: 11.98 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3034, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3034, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.3038, allocations: 263.2 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.3038, allocations: 7.953 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3039, allocations: 7.938 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.304, allocations: 7.984 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.304, allocations: 8 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.304, allocations: 3.984 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.3041, allocations: 102.5 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3041, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003348/0.3044, allocations: 47.86 kB / 1.29 GB, free: 5.156 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.0003661/0.3048, allocations: 178.8 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.305, allocations: 91.95 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3051, allocations: 4 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3052, allocations: 35.98 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3054, allocations: 13.88 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.3059, allocations: 233.6 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.306, allocations: 79.52 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.306, allocations: 15.42 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.306, allocations: 0 / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.003914/0.3099, allocations: 1.828 MB / 1.292 GB, free: 2.656 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.534785456955433]