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.0006189/0.0006189, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007225/0.0007225, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.837/0.837, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.607/1.607, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.743e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001993/0.00202, allocations: 1.529 MB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003078, allocations: 0.7795 MB / 0.9539 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.003144, allocations: 3.938 kB / 0.954 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.003174, allocations: 3.938 kB / 0.954 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.003241, allocations: 23.78 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.00384, allocations: 147.5 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003966, allocations: 95.62 kB / 0.9542 GB, free: 440 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.004057, allocations: 11.98 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.0042, allocations: 59.88 kB / 0.9543 GB, free: 368 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.004262, allocations: 43.88 kB / 0.9543 GB, free: 324 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.00428, allocations: 8 kB / 0.9543 GB, free: 316 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.004499, allocations: 135.7 kB / 0.9545 GB, free: 180 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.004526, allocations: 23.91 kB / 0.9545 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.004566, allocations: 31.91 kB / 0.9545 GB, free: 124 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.004836, allocations: 183.5 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004838, allocations: 0 / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.333e-06/0.00484, allocations: 0 / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.004843, allocations: 3.938 kB / 0.9547 GB, free: 15.94 MB / 0.9167 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.0004997/0.005343, allocations: 393.1 kB / 0.9551 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.00538, allocations: 12.03 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.005576, allocations: 28.86 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.005771, allocations: 137.7 kB / 0.9552 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.005792, allocations: 384 / 0.9552 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.006048, allocations: 16.36 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.00621, allocations: 82.14 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.006218, allocations: 192 / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.006229, allocations: 4.375 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.006235, allocations: 7.938 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.00632, allocations: 47.95 kB / 0.9554 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.006681, allocations: 256.3 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.006795, allocations: 58.55 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.006855, allocations: 40.83 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.006874, allocations: 4 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.006998, allocations: 99.33 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.007, allocations: 0 / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.000326/0.007326, allocations: 185.5 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.007363, allocations: 63.41 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.007446, allocations: 129.2 kB / 0.9562 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007459, allocations: 29.7 kB / 0.9562 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.007507, allocations: 92.75 kB / 0.9563 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.007529, allocations: 27.98 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.007567, allocations: 33.64 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.007647, allocations: 322.8 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.007698, allocations: 31.92 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.00776, allocations: 70 kB / 0.9568 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.007879, allocations: 117.8 kB / 0.9569 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007881, allocations: 0 / 0.9569 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001611/0.008043, allocations: 137.5 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.008056, allocations: 8.031 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.008062, allocations: 4 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.008077, allocations: 4 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.008139, allocations: 19.92 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.008145, allocations: 4 kB / 0.957 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.008181, allocations: 7.953 kB / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.008191, allocations: 4 kB / 0.9571 GB, free: 13.28 MB / 0.9167 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.916e-05/0.00827, allocations: 133.7 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.008285, allocations: 15.89 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.00831, allocations: 12.44 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008312, allocations: 0 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008316, allocations: 0 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008319, allocations: 0 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.008671, allocations: 374 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008673, allocations: 0 / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.008693, allocations: 4 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008695, allocations: 0 / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.008706, allocations: 11.92 kB / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.008708, allocations: 4 kB / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008709, allocations: 0 / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.008927, allocations: 259.3 kB / 0.9578 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.008936, allocations: 7.953 kB / 0.9578 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.008952, allocations: 0 / 0.9578 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.009, allocations: 8.172 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.009036, allocations: 7.984 kB / 0.9579 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.009044, allocations: 7.938 kB / 0.9579 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.009085, allocations: 95.27 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.009085, allocations: 4 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002369/0.009322, allocations: 51.81 kB / 0.958 GB, free: 12.24 MB / 0.9167 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.0002957/0.009618, allocations: 177.4 kB / 0.9582 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.009798, allocations: 88.14 kB / 0.9583 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0098, allocations: 4.062 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.00987, allocations: 47.91 kB / 0.9583 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.01008, allocations: 18.42 kB / 0.9583 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.01043, allocations: 223 kB / 0.9585 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.954e-05/0.01048, allocations: 79.27 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.0105, allocations: 16.5 kB / 0.9586 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.0105, allocations: 0 / 0.9586 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of Templates: time 0.002704/0.0132, allocations: 1.838 MB / 0.9604 GB, free: 9.723 MB / 0.9167 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 -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: 6.727389644831419]