Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001455/0.001455, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001579/0.001579, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.49/1.49, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.726/2.726, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.99e-05, allocations: 3.219 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003367/0.003397, allocations: 1.514 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.005319, allocations: 0.7695 MB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.005378, allocations: 0.5938 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.005417, allocations: 12.8 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.005473, allocations: 3.938 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.006175, allocations: 148.5 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.006331, allocations: 83.75 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.495e-05/0.006416, allocations: 8.859 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.006794, allocations: 51.89 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.006868, allocations: 33.36 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.006892, allocations: 8 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.007216, allocations: 135.7 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.007252, allocations: 19.97 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.007303, allocations: 23.14 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.007649, allocations: 175.4 kB / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.007652, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.007653, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.007657, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.7448 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.000699/0.008356, allocations: 343.6 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.008396, allocations: 12.02 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.008761, allocations: 33.88 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.009017, allocations: 134.2 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.009039, allocations: 1.688 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.009063, allocations: 12.31 kB / 0.7898 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.009267, allocations: 66.22 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.009275, allocations: 5.062 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.009292, allocations: 8.109 kB / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.009296, allocations: 0 / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.009452, allocations: 40.69 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.01007, allocations: 246.5 kB / 0.7901 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.01022, allocations: 50.48 kB / 0.7902 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.01031, allocations: 30.53 kB / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.01033, allocations: 3.938 kB / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.01052, allocations: 75.38 kB / 0.7903 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.01052, allocations: 1.531 kB / 0.7903 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004762/0.011, allocations: 149.8 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.01106, allocations: 51.97 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.01135, allocations: 128.1 kB / 0.7906 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.01139, allocations: 31.27 kB / 0.7906 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.01147, allocations: 88.14 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.0115, allocations: 19.83 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.01156, allocations: 25.72 kB / 0.7908 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01174, allocations: 323.3 kB / 0.7911 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.01183, allocations: 22.08 kB / 0.7911 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.01194, allocations: 54.55 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.01213, allocations: 79.08 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01214, allocations: 0 / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003022/0.01244, allocations: 122.7 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01245, allocations: 5.531 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.01246, allocations: 3.984 kB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01248, allocations: 0 / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.01257, allocations: 12 kB / 0.7914 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.01258, allocations: 4.562 kB / 0.7914 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.01266, allocations: 16.97 kB / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01267, allocations: 4 kB / 0.7914 GB, free: 7.508 MB / 0.7448 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.0001146/0.01279, allocations: 118.7 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.01282, allocations: 11.89 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.01285, allocations: 12.92 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01285, allocations: 0.8438 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01285, allocations: 0 / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01286, allocations: 0 / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.0134, allocations: 332.1 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.0134, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.01345, allocations: 8 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01345, allocations: 0 / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.01346, allocations: 4.516 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01346, allocations: 0 / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01346, allocations: 2.562 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.01381, allocations: 219.4 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.01383, allocations: 11.89 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01385, allocations: 3.984 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.01395, allocations: 4 kB / 0.7921 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01399, allocations: 9.703 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01401, allocations: 4 kB / 0.7921 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.844e-05/0.01408, allocations: 96.27 kB / 0.7922 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01408, allocations: 0 / 0.7922 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003178/0.0144, allocations: 35.94 kB / 0.7922 GB, free: 6.602 MB / 0.7448 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.0004249/0.01483, allocations: 169.9 kB / 0.7924 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.01509, allocations: 76.06 kB / 0.7925 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01509, allocations: 0.75 kB / 0.7925 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.01521, allocations: 31.98 kB / 0.7925 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.01548, allocations: 12.52 kB / 0.7925 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.01595, allocations: 190 kB / 0.7927 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.01603, allocations: 68.91 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.01607, allocations: 11.73 kB / 0.7928 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.01612, allocations: 12.5 kB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01612, allocations: 0 / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.005259/0.02138, allocations: 1.513 MB / 0.7942 GB, free: 4.531 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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: 7.726231971057132]