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.001995/0.001995, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00245/0.00245, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.793 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.931/2.931, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 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.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.002193/0.002193, allocations: 69.44 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3575, allocations: 169.9 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.004028/0.3616, allocations: 1.532 MB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.3637, allocations: 0.7614 MB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.3638, allocations: 7.938 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.3639, allocations: 3.938 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.364, allocations: 11.86 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.3648, allocations: 151.5 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.365, allocations: 91.7 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3651, allocations: 23.91 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3653, allocations: 51.86 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3654, allocations: 47.75 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.3654, allocations: 11.94 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.3658, allocations: 131.8 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.3659, allocations: 23.91 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.3659, allocations: 39.84 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3663, allocations: 163.4 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3663, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3663, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3663, allocations: 4 kB / 1.286 GB, free: 8.887 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.0008863/0.3672, allocations: 397.1 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3673, allocations: 12.03 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.3677, allocations: 24.88 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.3681, allocations: 130.4 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.3681, allocations: 8.375 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.3681, allocations: 8.375 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.3684, allocations: 93.88 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3684, allocations: 4 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3685, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3685, allocations: 3.984 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.3687, allocations: 47.97 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.3695, allocations: 248.4 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3697, allocations: 66.48 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.3699, allocations: 32.84 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3699, allocations: 4 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.3702, allocations: 95.45 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.3702, allocations: 3.938 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007326/0.3709, allocations: 189.5 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.371, allocations: 63.48 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3711, allocations: 133 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.3712, allocations: 29.69 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.3713, allocations: 96.36 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.3713, allocations: 23.84 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.3714, allocations: 29.7 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3716, allocations: 322.8 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.3717, allocations: 27.98 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.3719, allocations: 69.98 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3722, allocations: 117.8 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3722, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004022/0.3726, allocations: 137.4 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3726, allocations: 7.984 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3726, allocations: 4 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3726, allocations: 4 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3728, allocations: 16.09 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.3728, allocations: 7.984 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3729, allocations: 11.88 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3729, allocations: 8 kB / 1.288 GB, free: 6.23 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.000142/0.373, allocations: 123.1 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3731, allocations: 7.953 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.3731, allocations: 16.36 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3731, allocations: 0 / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3731, allocations: 3.938 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3731, allocations: 4 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/0.3739, allocations: 374 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3739, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.374, allocations: 7.984 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.374, allocations: 0 / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.374, allocations: 8 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.374, allocations: 3.984 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.374, allocations: 480 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.3746, allocations: 263.3 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3746, allocations: 15.88 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.3746, allocations: 8 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3748, allocations: 4 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3749, allocations: 3.984 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.3749, allocations: 7.984 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001072/0.375, allocations: 102.1 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.375, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005442/0.3755, allocations: 43.88 kB / 1.289 GB, free: 5.191 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.00055/0.3761, allocations: 164.9 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.3765, allocations: 87.83 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3765, allocations: 0 / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3767, allocations: 51.98 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3771, allocations: 32.34 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.3778, allocations: 199.9 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.378, allocations: 75.33 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.772e-05/0.378, allocations: 8.656 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.3781, allocations: 11.44 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3781, allocations: 4 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of Templates: time 0.007364/0.3854, allocations: 1.787 MB / 1.292 GB, free: 2.781 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/jenkins/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: 9.38131321594119]