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.001753/0.001753, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002002/0.002002, allocations: 195.7 kB / 22.17 MB, free: 5.211 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.451/1.451, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.759/2.759, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.002339/0.002339, allocations: 76.14 kB / 1.109 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3389, allocations: 168.7 MB / 1.274 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002776/0.3417, allocations: 1.521 MB / 1.276 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3432, allocations: 0.7646 MB / 1.276 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.3432, allocations: 4 kB / 1.276 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.3432, allocations: 7.922 kB / 1.276 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.3433, allocations: 11.81 kB / 1.276 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.3439, allocations: 127.6 kB / 1.276 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.344, allocations: 83.77 kB / 1.276 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3441, allocations: 15.97 kB / 1.276 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3442, allocations: 43.86 kB / 1.277 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.3443, allocations: 47.81 kB / 1.277 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3443, allocations: 8 kB / 1.277 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.3446, allocations: 103.8 kB / 1.277 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.3446, allocations: 23.92 kB / 1.277 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.3446, allocations: 35.84 kB / 1.277 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3449, allocations: 163.4 kB / 1.277 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3449, allocations: 0 / 1.277 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3449, allocations: 0 / 1.277 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3449, allocations: 0 / 1.277 GB, free: 8.211 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.0006936/0.3456, allocations: 462.4 kB / 1.277 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.3457, allocations: 8.031 kB / 1.277 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.3457, allocations: 16.84 kB / 1.277 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3459, allocations: 180.2 kB / 1.278 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.3459, allocations: 8.375 kB / 1.278 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3459, allocations: 4.375 kB / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.3462, allocations: 93.88 kB / 1.278 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3462, allocations: 0 / 1.278 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3462, allocations: 0 / 1.278 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3462, allocations: 4 kB / 1.278 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3464, allocations: 51.91 kB / 1.278 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.347, allocations: 316.8 kB / 1.278 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3472, allocations: 62.53 kB / 1.278 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.3473, allocations: 44.88 kB / 1.278 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.3474, allocations: 4 kB / 1.278 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.3477, allocations: 99.34 kB / 1.278 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3477, allocations: 0 / 1.278 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005353/0.3482, allocations: 185.5 kB / 1.278 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3483, allocations: 55.39 kB / 1.278 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3484, allocations: 129.8 kB / 1.279 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3484, allocations: 33.69 kB / 1.279 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.3485, allocations: 92.38 kB / 1.279 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.3485, allocations: 27.73 kB / 1.279 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.3486, allocations: 29.7 kB / 1.279 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3487, allocations: 326.8 kB / 1.279 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.3488, allocations: 27.98 kB / 1.279 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3489, allocations: 81.92 kB / 1.279 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.3492, allocations: 105.9 kB / 1.279 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3492, allocations: 4.375 kB / 1.279 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002842/0.3494, allocations: 129.4 kB / 1.279 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3495, allocations: 8 kB / 1.279 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3495, allocations: 3.984 kB / 1.279 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3495, allocations: 12.09 kB / 1.279 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3496, allocations: 16 kB / 1.279 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3496, allocations: 0 / 1.279 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.3497, allocations: 15.88 kB / 1.279 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.3497, allocations: 8 kB / 1.279 GB, free: 5.336 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.0001155/0.3498, allocations: 125.7 kB / 1.28 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3498, allocations: 7.953 kB / 1.28 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.3499, allocations: 20.36 kB / 1.28 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3499, allocations: 0 / 1.28 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3499, allocations: 0 / 1.28 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3499, allocations: 0 / 1.28 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.3505, allocations: 430.5 kB / 1.28 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3505, allocations: 0 / 1.28 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.3505, allocations: 4 kB / 1.28 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3505, allocations: 0 / 1.28 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3506, allocations: 11.98 kB / 1.28 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3506, allocations: 4 kB / 1.28 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3506, allocations: 7.875 kB / 1.28 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.3509, allocations: 239.4 kB / 1.28 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.351, allocations: 89 kB / 1.28 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.351, allocations: 0 / 1.28 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3511, allocations: 11.98 kB / 1.28 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3512, allocations: 19.95 kB / 1.28 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3512, allocations: 7.984 kB / 1.28 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.3512, allocations: 94.27 kB / 1.28 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 1.28 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000322/0.3516, allocations: 47.88 kB / 1.281 GB, free: 4.137 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.0003819/0.3519, allocations: 171.5 kB / 1.281 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.3522, allocations: 91.81 kB / 1.281 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3522, allocations: 0 / 1.281 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3524, allocations: 39.98 kB / 1.281 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3527, allocations: 11.98 kB / 1.281 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.3532, allocations: 230.5 kB / 1.281 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3535, allocations: 0.6885 MB / 1.282 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.3536, allocations: 11.98 kB / 1.282 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.3536, allocations: 11.44 kB / 1.282 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3536, allocations: 0 / 1.282 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of Templates: time 0.005152/0.3588, allocations: 1.738 MB / 1.283 GB, free: 1.125 MB / 0.9825 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 gbode -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_2/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.52954105194658]