Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.00167/0.00167, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002088/0.002088, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.547/1.547, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.822/2.822, 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 1.109 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8508, allocations: 168.7 MB / 1.274 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002717/0.8536, allocations: 1.507 MB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.8549, allocations: 0.7456 MB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.8549, allocations: 0 / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.8549, allocations: 7.875 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.855, allocations: 7.875 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.8556, allocations: 119.6 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.8557, allocations: 71.72 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.8558, allocations: 19.92 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.8559, allocations: 27.92 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.8559, allocations: 39.84 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.8559, allocations: 4 kB / 1.277 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.8562, allocations: 107.8 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.8562, allocations: 11.98 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.8562, allocations: 35.8 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.8565, allocations: 134.2 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8565, allocations: 0 / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8565, allocations: 0 / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8565, allocations: 4 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006637/0.8571, allocations: 450.4 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.8572, allocations: 8.031 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.8572, allocations: 8.891 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.8574, allocations: 176.2 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.8574, allocations: 4.375 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.8574, allocations: 8.375 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.8576, allocations: 69.95 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.8576, allocations: 4 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.8576, allocations: 0 / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.8576, allocations: 0 / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.8578, allocations: 43.95 kB / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.8583, allocations: 296.7 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.8584, allocations: 46.55 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.8585, allocations: 32.97 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.8585, allocations: 8 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.8587, allocations: 79.31 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.8587, allocations: 3.938 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004285/0.8592, allocations: 137.7 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.8592, allocations: 51.41 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.8593, allocations: 133.7 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.8593, allocations: 29.7 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.8594, allocations: 88.14 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.8594, allocations: 15.89 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.8595, allocations: 25.72 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8596, allocations: 322.8 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.8597, allocations: 23.98 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.8598, allocations: 61.08 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.86, allocations: 101 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.86, allocations: 0 / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002338/0.8602, allocations: 113.5 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.8602, allocations: 8 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8602, allocations: 0 / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8602, allocations: 0 / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.8603, allocations: 16.14 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8603, allocations: 7.938 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.8604, allocations: 11.94 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.8604, allocations: 7.984 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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.0001025/0.8605, allocations: 123.7 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.8605, allocations: 7.953 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.8605, allocations: 8.375 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8606, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8606, allocations: 3.938 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8606, allocations: 4 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.861, allocations: 382.4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.861, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.8611, allocations: 7.984 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8611, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.8611, allocations: 8 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8611, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8611, allocations: 3.938 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.8614, allocations: 207.8 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.8615, allocations: 85.06 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.8615, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.8616, allocations: 7.984 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.8616, allocations: 7.938 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.8616, allocations: 11.98 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.8617, allocations: 91.28 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8617, allocations: 0 / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003118/0.862, allocations: 43.86 kB / 1.28 GB, free: 14.05 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003647/0.8624, allocations: 165 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.8626, allocations: 75.95 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8626, allocations: 0 / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.8627, allocations: 35.91 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.863, allocations: 11.94 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.8634, allocations: 196.7 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.8637, allocations: 0.6965 MB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.8637, allocations: 4 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.8638, allocations: 11.44 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.8638, allocations: 0 / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.004419/0.8682, allocations: 1.464 MB / 1.283 GB, free: 11.37 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 8.698202532250434]