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.001655/0.001655, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002287/0.002287, allocations: 162.7 kB / 23.01 MB, free: 4.594 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.98 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.755/2.755, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] 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.002322/0.002322, allocations: 63.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.36, allocations: 169.9 MB / 1.117 GB, free: 2.574 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003506/0.3635, allocations: 1.513 MB / 1.119 GB, free: 1.047 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3651, allocations: 0.7869 MB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.3652, allocations: 3.938 kB / 1.12 GB, free: 256 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.3652, allocations: 7.875 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.3653, allocations: 15.84 kB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.3659, allocations: 151.5 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.366, allocations: 95.73 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.444e-05/0.3661, allocations: 11.88 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.3662, allocations: 51.89 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.3663, allocations: 39.84 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3663, allocations: 8 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.3666, allocations: 135.7 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.3667, allocations: 27.91 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.3667, allocations: 31.86 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.367, allocations: 163.5 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.367, allocations: 4 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/0.367, allocations: 0 / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.367, 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.0007169/0.3677, allocations: 393.1 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3678, allocations: 12.03 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.3681, allocations: 24.88 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.3684, allocations: 138.4 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.3684, allocations: 4.375 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3684, allocations: 16.38 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3687, allocations: 85.94 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3687, allocations: 3.938 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3687, allocations: 4 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3687, allocations: 0 / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3689, allocations: 47.97 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.3695, allocations: 244.5 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.3697, allocations: 70.52 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3698, allocations: 36.84 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3699, allocations: 0 / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.3701, allocations: 99.3 kB / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.3701, allocations: 0 / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0005765/0.3706, allocations: 189.5 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.3707, allocations: 63.33 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3709, allocations: 132 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3709, allocations: 37.69 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.371, allocations: 92.38 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.371, allocations: 19.86 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.371, allocations: 29.7 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3712, allocations: 326.8 kB / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.3713, allocations: 27.98 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3714, allocations: 69.98 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3717, allocations: 117.8 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3717, allocations: 0 / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002982/0.372, allocations: 137.4 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.372, allocations: 7.984 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.372, allocations: 4.156 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.372, allocations: 4 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.3721, allocations: 12 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.3721, allocations: 11.92 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.3722, allocations: 11.89 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3722, allocations: 8 kB / 1.123 GB, free: 12.86 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.0001071/0.3723, allocations: 121.8 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3723, allocations: 11.95 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.3724, allocations: 16.42 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3724, allocations: 4 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.3724, allocations: 0 / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3724, allocations: 0 / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.3729, allocations: 378.5 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.373, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.373, allocations: 12.02 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.373, allocations: 3.938 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.373, allocations: 0 / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.373, allocations: 4 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.373, allocations: 0 / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.3734, allocations: 263.3 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.3734, allocations: 7.953 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3735, allocations: 7.984 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3736, allocations: 4 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.3736, allocations: 7.922 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3736, allocations: 8 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.997e-05/0.3737, allocations: 102.3 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3737, allocations: 0 / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003347/0.374, allocations: 43.88 kB / 1.124 GB, free: 11.82 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.0003919/0.3744, allocations: 172.3 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.3747, allocations: 95.86 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3747, allocations: 0 / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3748, allocations: 44.28 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.0003003/0.3751, allocations: 15.98 kB / 1.124 GB, free: 11.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.3756, allocations: 212.4 kB / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.223e-05/0.3757, allocations: 79.27 kB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.3758, allocations: 8.734 kB / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.3758, allocations: 16.48 kB / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.3758, allocations: 0 / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of Templates: time 0.005311/0.3811, allocations: 1.744 MB / 1.126 GB, free: 9.449 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.740254278061911]