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.001577/0.001577, 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.001898/0.001898, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.791/2.791, allocations: 476.8 MB / 0.7714 GB, free: 4.281 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.002004/0.002004, allocations: 67.08 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002796/0.3098, allocations: 1.55 MB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3113, allocations: 0.8352 MB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.3114, allocations: 4 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.3114, allocations: 3.938 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.3115, allocations: 11.81 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.3121, allocations: 155.5 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3123, allocations: 87.77 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.3123, allocations: 19.86 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3125, allocations: 51.91 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.3126, allocations: 51.81 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3126, allocations: 8 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.3129, allocations: 143.8 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.3129, allocations: 19.92 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.313, allocations: 47.77 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3133, allocations: 151.5 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3133, allocations: 3.938 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3133, allocations: 4 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3133, allocations: 0 / 1.288 GB, free: 8.129 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.0006377/0.3139, allocations: 393.2 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.314, allocations: 8.031 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.3143, allocations: 32.86 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3145, allocations: 146.3 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3146, allocations: 4.375 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3146, allocations: 8.375 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.3149, allocations: 89.94 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3149, allocations: 4 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3149, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3149, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.315, allocations: 47.91 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.3156, allocations: 291.8 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3158, allocations: 62.55 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3159, allocations: 36.84 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.3159, allocations: 11.95 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3161, allocations: 91.36 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3161, allocations: 0 / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004817/0.3166, allocations: 189.5 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.3167, allocations: 55.41 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3168, allocations: 135.3 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3168, allocations: 29.7 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.3169, allocations: 96.45 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3169, allocations: 23.84 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.317, allocations: 33.7 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3171, allocations: 326.7 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.3172, allocations: 31.97 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3173, allocations: 73.94 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.3175, allocations: 109.9 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3175, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000264/0.3178, allocations: 133.4 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3178, allocations: 12.16 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3178, allocations: 0 / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3178, allocations: 4 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.3179, allocations: 15.98 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3179, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.318, allocations: 15.94 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.318, allocations: 4 kB / 1.29 GB, free: 5.422 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.000111/0.3181, allocations: 129.7 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.3181, allocations: 16 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.3182, allocations: 16.36 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3182, allocations: 0 / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3182, allocations: 0 / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3182, allocations: 384 / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.3187, allocations: 405.3 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3187, allocations: 0 / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.3188, allocations: 7.984 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3188, allocations: 8 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3188, allocations: 0 / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3188, allocations: 0 / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3188, allocations: 3.938 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3192, allocations: 251.4 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.3192, allocations: 3.953 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3192, allocations: 7.984 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.3193, allocations: 8 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3193, allocations: 15.86 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3194, allocations: 8 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.87e-05/0.3194, allocations: 102.2 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3194, allocations: 0 / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003192/0.3197, allocations: 39.94 kB / 1.291 GB, free: 4.344 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.0003723/0.3201, allocations: 172.5 kB / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.3204, allocations: 91.83 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3204, allocations: 0 / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3205, allocations: 43.97 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3208, allocations: 12.3 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.3213, allocations: 237.6 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3216, allocations: 0.6885 MB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3216, allocations: 15.44 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of SimCode: time 4.9e-07/0.3216, allocations: 0 / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of Templates: time 0.003988/0.3256, allocations: 1.802 MB / 1.294 GB, free: 1.25 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.462708211998688]