Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001676/0.001676, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001857/0.001857, allocations: 161.9 kB / 22.46 MB, free: 5.375 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.486/1.486, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.77/2.77, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.803e-05, allocations: 8.391 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003357/0.003385, allocations: 1.506 MB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.005155, allocations: 0.7717 MB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.005224, allocations: 0 / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.005267, allocations: 7.922 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.005323, allocations: 7.875 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.006062, allocations: 147.3 kB / 0.9533 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.006218, allocations: 83.75 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.006315, allocations: 4.188 kB / 0.9534 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.006497, allocations: 63.81 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.006573, allocations: 27.91 kB / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.0066, allocations: 8 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.00698, allocations: 135.7 kB / 0.9536 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.007015, allocations: 19.95 kB / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.007066, allocations: 23.92 kB / 0.9537 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.007417, allocations: 175.4 kB / 0.9539 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.007422, allocations: 3.984 kB / 0.9539 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.82e-07/0.007422, allocations: 0 / 0.9539 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.007433, allocations: 0 / 0.9539 GB, free: 8.57 MB / 0.8575 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.0007161/0.008149, allocations: 347.6 kB / 0.9542 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.008186, allocations: 8.031 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.008572, allocations: 32.86 kB / 0.9542 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.008832, allocations: 133.7 kB / 0.9544 GB, free: 8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.008856, allocations: 8.375 kB / 0.9544 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.00888, allocations: 4.375 kB / 0.9544 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.009099, allocations: 66.2 kB / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.009114, allocations: 8.125 kB / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.009132, allocations: 16.06 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.009136, allocations: 0 / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.009279, allocations: 35.97 kB / 0.9545 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.009872, allocations: 236.5 kB / 0.9547 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.01002, allocations: 42.56 kB / 0.9548 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.01012, allocations: 36.91 kB / 0.9548 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.01014, allocations: 7.938 kB / 0.9548 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.01031, allocations: 75.38 kB / 0.9549 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.01031, allocations: 4 kB / 0.9549 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000459/0.01077, allocations: 145.6 kB / 0.955 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.01082, allocations: 51.41 kB / 0.9551 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01096, allocations: 124.5 kB / 0.9552 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.01101, allocations: 37.62 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.01108, allocations: 88.14 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.01111, allocations: 23.84 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.01118, allocations: 25.7 kB / 0.9554 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.01135, allocations: 322.8 kB / 0.9557 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.01144, allocations: 23.98 kB / 0.9557 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01156, allocations: 46.56 kB / 0.9557 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.01176, allocations: 74.8 kB / 0.9558 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01176, allocations: 0 / 0.9558 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003142/0.01208, allocations: 129.5 kB / 0.9559 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.0121, allocations: 4 kB / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.01211, allocations: 4 kB / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01213, allocations: 0 / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01223, allocations: 11.98 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01224, allocations: 0 / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.01231, allocations: 4 kB / 0.9559 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.01232, allocations: 7.938 kB / 0.956 GB, free: 6.23 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.0001056/0.01243, allocations: 121.9 kB / 0.9561 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.01245, allocations: 19.77 kB / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.01248, allocations: 12.44 kB / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01248, allocations: 0 / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01248, allocations: 0 / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01249, allocations: 0 / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.01304, allocations: 326.1 kB / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.01305, allocations: 4 kB / 0.9564 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.961e-05/0.0131, allocations: 11.97 kB / 0.9564 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.0131, allocations: 4 kB / 0.9564 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01312, allocations: 4 kB / 0.9564 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01312, allocations: 3.938 kB / 0.9564 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01312, allocations: 0 / 0.9564 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.01349, allocations: 215.4 kB / 0.9566 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.01351, allocations: 11.89 kB / 0.9567 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01353, allocations: 4 kB / 0.9567 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.01362, allocations: 4 kB / 0.9567 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.01367, allocations: 3.984 kB / 0.9567 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.01368, allocations: 8 kB / 0.9567 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.594e-05/0.01376, allocations: 91.27 kB / 0.9568 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01376, allocations: 0 / 0.9568 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003295/0.01409, allocations: 39.92 kB / 0.9568 GB, free: 5.301 MB / 0.8575 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0004791/0.01457, allocations: 166.6 kB / 0.957 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.01486, allocations: 79.89 kB / 0.957 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01487, allocations: 3.938 kB / 0.957 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01498, allocations: 27.92 kB / 0.9571 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01527, allocations: 12.48 kB / 0.9571 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.01575, allocations: 173.5 kB / 0.9572 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.01583, allocations: 73.2 kB / 0.9573 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.01587, allocations: 8.125 kB / 0.9573 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.01591, allocations: 16.5 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.01591, allocations: 0 / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of Templates: time 0.005253/0.02116, allocations: 1.49 MB / 0.9588 GB, free: 3.242 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.345163885504007]