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.001359/0.001359, allocations: 106.5 kB / 17.6 MB, free: 4.699 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.001403/0.001403, allocations: 190.7 kB / 20.78 MB, free: 1.539 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.474/1.474, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.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.818/2.818, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 176] 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.00199/0.00199, allocations: 71.89 kB / 1.107 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002674/1.111, allocations: 1.507 MB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001333/1.113, allocations: 0.7459 MB / 1.274 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/1.113, allocations: 4.938 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/1.113, allocations: 3.938 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.826e-05/1.113, allocations: 14.95 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/1.113, allocations: 113.7 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/1.113, allocations: 75.45 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/1.113, allocations: 6.953 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/1.114, allocations: 31.95 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/1.114, allocations: 40.95 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/1.114, allocations: 5.125 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/1.114, allocations: 102.9 kB / 1.275 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/1.114, allocations: 17.66 kB / 1.275 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/1.114, allocations: 27.28 kB / 1.275 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/1.114, allocations: 145.6 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.114, allocations: 0.7812 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.114, allocations: 4 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.039e-05/1.114, allocations: 1.875 kB / 1.275 GB, free: 6.141 MB / 0.9981 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.0005361/1.115, allocations: 442.3 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.115, allocations: 9.75 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/1.115, allocations: 12.02 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.115, allocations: 181.7 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/1.115, allocations: 7.875 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/1.115, allocations: 4.281 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/1.115, allocations: 72.28 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.115, allocations: 0 / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/1.115, allocations: 6.375 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.115, allocations: 1.281 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/1.115, allocations: 35.41 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/1.116, allocations: 299.6 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/1.116, allocations: 51.16 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/1.116, allocations: 27.25 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/1.116, allocations: 4.969 kB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/1.116, allocations: 82.09 kB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/1.116, allocations: 0 / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004027/1.117, allocations: 136.6 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/1.117, allocations: 56.91 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/1.117, allocations: 124 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/1.117, allocations: 26.45 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/1.117, allocations: 87.59 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/1.117, allocations: 17.17 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/1.117, allocations: 28.39 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/1.117, allocations: 328.4 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/1.117, allocations: 20.75 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/1.117, allocations: 58.86 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/1.117, allocations: 94.61 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.117, allocations: 1.062 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002194/1.117, allocations: 120.2 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.117, allocations: 7.562 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.117, allocations: 1.625 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.117, allocations: 2.828 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/1.117, allocations: 12.52 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.117, allocations: 2.312 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/1.118, allocations: 14.53 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/1.118, allocations: 3.469 kB / 1.277 GB, free: 4.078 MB / 0.9981 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 6.902e-05/1.118, allocations: 132.4 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/1.118, allocations: 7.391 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/1.118, allocations: 6.547 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.118, allocations: 1.094 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.118, allocations: 3.344 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.118, allocations: 0 / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/1.118, allocations: 383.9 kB / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.118, allocations: 0.6562 kB / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/1.118, allocations: 9.062 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.118, allocations: 3.562 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/1.118, allocations: 1.188 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/1.118, allocations: 5.062 kB / 1.278 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.118, allocations: 3.938 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/1.118, allocations: 209.5 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/1.118, allocations: 79.08 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/1.118, allocations: 5.219 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/1.118, allocations: 5.906 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/1.119, allocations: 8.781 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/1.119, allocations: 7.281 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.539e-05/1.119, allocations: 92.28 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.119, allocations: 0 / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003112/1.119, allocations: 46.83 kB / 1.278 GB, free: 3.215 MB / 0.9981 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.0003409/1.119, allocations: 170.1 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002492/1.119, allocations: 68.38 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.119, allocations: 0 / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.12, allocations: 32.52 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.12, allocations: 11.36 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/1.12, allocations: 209.8 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/1.12, allocations: 0.6866 MB / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.461e-05/1.12, allocations: 4.25 kB / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/1.12, allocations: 13.33 kB / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/1.12, allocations: 0.5625 kB / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of Templates: time 0.004658/1.125, allocations: 1.455 MB / 1.281 GB, free: 2.055 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.329282925464213]