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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 71.89 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.087, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002582/1.089, allocations: 1.529 MB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001288/1.09, allocations: 0.7686 MB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/1.09, allocations: 0.875 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/1.09, allocations: 3.938 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/1.091, allocations: 14.31 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/1.091, allocations: 128.9 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/1.091, allocations: 95.56 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/1.091, allocations: 4.094 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/1.091, allocations: 44.41 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/1.092, allocations: 52.94 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/1.092, allocations: 7.531 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/1.092, allocations: 106 kB / 1.275 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/1.092, allocations: 21.22 kB / 1.275 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/1.092, allocations: 39.05 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/1.092, allocations: 155.8 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.092, allocations: 0.9688 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.092, allocations: 0 / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.879e-06/1.092, allocations: 0 / 1.275 GB, free: 6.062 MB / 0.9981 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.0005427/1.093, allocations: 463.6 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/1.093, allocations: 8.938 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/1.093, allocations: 9.391 kB / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/1.093, allocations: 180.1 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/1.093, allocations: 8 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/1.093, allocations: 5.062 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/1.093, allocations: 90.95 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.093, allocations: 0 / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.093, allocations: 0 / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.093, allocations: 5.781 kB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/1.093, allocations: 52.25 kB / 1.276 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/1.094, allocations: 324.4 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/1.094, allocations: 57.27 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/1.094, allocations: 38.95 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/1.094, allocations: 7.156 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/1.094, allocations: 92.22 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/1.094, allocations: 1 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000508/1.095, allocations: 192.1 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.095, allocations: 54.44 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/1.095, allocations: 133.7 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/1.095, allocations: 26.86 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/1.095, allocations: 93.22 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/1.095, allocations: 30.36 kB / 1.277 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/1.095, allocations: 29.89 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/1.095, allocations: 324.6 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/1.095, allocations: 29.2 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/1.095, allocations: 82.84 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.095, allocations: 109.7 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.095, allocations: 1.062 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002537/1.096, allocations: 134.2 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.096, allocations: 6.641 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.096, allocations: 1.312 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.096, allocations: 6.438 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/1.096, allocations: 19.69 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.096, allocations: 1.812 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/1.096, allocations: 10.42 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/1.096, allocations: 7.344 kB / 1.277 GB, free: 3.887 MB / 0.9981 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 7.207e-05/1.096, allocations: 129 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/1.096, allocations: 6.859 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/1.096, allocations: 17.72 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.096, allocations: 1.719 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.096, allocations: 0 / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.096, allocations: 0.625 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/1.096, allocations: 429 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.096, allocations: 0 / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/1.097, allocations: 4.938 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.097, allocations: 0.8125 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/1.097, allocations: 11.2 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.097, allocations: 2.156 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.097, allocations: 3.938 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/1.097, allocations: 247.8 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/1.097, allocations: 84.77 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.097, allocations: 2.609 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.097, allocations: 8.344 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/1.097, allocations: 21.84 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/1.097, allocations: 6.625 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.852e-05/1.097, allocations: 96.25 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.097, allocations: 0 / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003302/1.097, allocations: 46.77 kB / 1.278 GB, free: 2.988 MB / 0.9981 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.0003481/1.098, allocations: 166.9 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003115/1.098, allocations: 88.59 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.098, allocations: 4.812 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.098, allocations: 45.16 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/1.099, allocations: 20.8 kB / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/1.099, allocations: 229.4 kB / 1.279 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/1.099, allocations: 0.6905 MB / 1.28 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.024e-05/1.099, allocations: 5.734 kB / 1.28 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/1.099, allocations: 12.86 kB / 1.28 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.099, allocations: 0 / 1.28 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of Templates: time 0.005878/1.105, allocations: 1.728 MB / 1.281 GB, free: 1.793 MB / 0.9981 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.35000579431653]