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.001354/0.001354, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001429/0.001429, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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.655/2.655, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 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.002407/0.002407, allocations: 67.88 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3601, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003307/0.3634, allocations: 1.513 MB / 1.119 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3651, allocations: 0.783 MB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.3652, allocations: 0 / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.3652, allocations: 11.86 kB / 1.12 GB, free: 256 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.3653, allocations: 19.8 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.366, allocations: 147.6 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3662, allocations: 91.78 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3663, allocations: 15.84 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3665, allocations: 51.84 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.3666, allocations: 43.81 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3666, allocations: 8 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3669, allocations: 143.7 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.367, allocations: 19.97 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.367, allocations: 35.86 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.3673, allocations: 163.5 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3673, allocations: 0 / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3673, allocations: 0 / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3673, allocations: 0 / 1.12 GB, free: 15.52 MB / 1.076 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.0007768/0.3681, allocations: 393.2 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3682, allocations: 8.031 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.3685, allocations: 32.86 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.3688, allocations: 142.3 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3688, allocations: 4.375 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.3689, allocations: 8.375 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.3691, allocations: 85.94 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3691, allocations: 0 / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3691, allocations: 4 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3691, allocations: 4 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.3693, allocations: 47.91 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.3698, allocations: 248.5 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.37, allocations: 62.48 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3701, allocations: 40.83 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3702, allocations: 4 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.3703, allocations: 99.33 kB / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.3703, allocations: 0 / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0005218/0.3709, allocations: 185.5 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.3709, allocations: 63.56 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.371, allocations: 136.1 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3711, allocations: 29.7 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.3711, allocations: 100.3 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3712, allocations: 19.86 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.3712, allocations: 29.7 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3714, allocations: 322.8 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.3715, allocations: 27.98 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3716, allocations: 73.98 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.3718, allocations: 113.8 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3718, allocations: 4 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002914/0.3721, allocations: 125.6 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3722, allocations: 12.03 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3722, allocations: 0 / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3722, allocations: 4 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3723, allocations: 23.92 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3723, allocations: 0 / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.3724, allocations: 15.88 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3724, allocations: 8 kB / 1.123 GB, free: 12.87 MB / 1.076 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.000127/0.3725, allocations: 129.7 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.3725, allocations: 7.953 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.3726, allocations: 12.44 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3726, allocations: 3.984 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3726, allocations: 0 / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3726, allocations: 0 / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3731, allocations: 374.4 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3731, allocations: 0 / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.3732, allocations: 7.984 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3732, allocations: 4.031 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3732, allocations: 7.938 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3732, allocations: 8 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3732, allocations: 0 / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.3736, allocations: 259.3 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.3736, allocations: 7.953 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3737, allocations: 7.984 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3738, allocations: 4 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.3738, allocations: 12.06 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3738, allocations: 0 / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.904e-05/0.3739, allocations: 102.5 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3739, allocations: 4 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003325/0.3742, allocations: 47.86 kB / 1.124 GB, free: 11.83 MB / 1.076 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.0004/0.3746, allocations: 168.2 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.3749, allocations: 88.23 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3749, allocations: 4 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3751, allocations: 51.89 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3753, allocations: 15.98 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.3758, allocations: 195.8 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.008e-05/0.3759, allocations: 79.27 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.376, allocations: 8.734 kB / 1.124 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.376, allocations: 12.5 kB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.376, allocations: 3.938 kB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of Templates: time 0.00524/0.3812, allocations: 1.737 MB / 1.126 GB, free: 9.465 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.800080919987522]