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.001892/0.001892, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002565/0.002565, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.207 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.84/2.84, allocations: 359 MB / 0.6037 GB, free: 14.94 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.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.442e-06/1.442e-06, allocations: 0 / 0.9509 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.231e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003082/0.003114, allocations: 1.519 MB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.00467, allocations: 0.7601 MB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.00472, allocations: 4 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.004756, allocations: 11.88 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.004809, allocations: 7.875 kB / 0.9532 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.005469, allocations: 151.3 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.00561, allocations: 75.77 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.005713, allocations: 16.11 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.005869, allocations: 47.94 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.005949, allocations: 35.89 kB / 0.9535 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.005976, allocations: 8 kB / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.006262, allocations: 135.7 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.006298, allocations: 23.91 kB / 0.9537 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.006341, allocations: 15.98 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.00664, allocations: 171.5 kB / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006643, allocations: 0 / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006644, allocations: 0 / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.006654, allocations: 0 / 0.9538 GB, free: 8.559 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.000721/0.007375, allocations: 359.5 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.007415, allocations: 8.031 kB / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.007761, allocations: 36.86 kB / 0.9542 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.008014, allocations: 133.6 kB / 0.9544 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.008035, allocations: 4.375 kB / 0.9544 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.008059, allocations: 4.375 kB / 0.9544 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.008283, allocations: 66.22 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.008293, allocations: 192 / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.008311, allocations: 4.125 kB / 0.9544 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.008321, allocations: 4 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.008471, allocations: 39.97 kB / 0.9545 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.00907, allocations: 256.4 kB / 0.9547 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.009207, allocations: 42.56 kB / 0.9548 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.009293, allocations: 28.97 kB / 0.9548 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.00932, allocations: 7.938 kB / 0.9548 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.009479, allocations: 71.38 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.009481, allocations: 0 / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004487/0.009929, allocations: 145.8 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.009977, allocations: 55.41 kB / 0.9551 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.0101, allocations: 129.5 kB / 0.9552 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.01013, allocations: 29.7 kB / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.01019, allocations: 92.12 kB / 0.9553 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.01022, allocations: 19.92 kB / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.01027, allocations: 29.7 kB / 0.9553 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.01043, allocations: 318.8 kB / 0.9556 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.01052, allocations: 27.97 kB / 0.9557 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.01062, allocations: 50.55 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.0108, allocations: 82.48 kB / 0.9558 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.0108, allocations: 0 / 0.9558 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002649/0.01107, allocations: 117.5 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.01108, allocations: 4 kB / 0.9559 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01109, allocations: 4.062 kB / 0.9559 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.01111, allocations: 4 kB / 0.9559 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.01121, allocations: 15.92 kB / 0.9559 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.01121, allocations: 0 / 0.9559 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.01127, allocations: 4 kB / 0.9559 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.01129, allocations: 12 kB / 0.956 GB, free: 6.199 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.0001183/0.01141, allocations: 113.8 kB / 0.9561 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.01144, allocations: 15.88 kB / 0.9561 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.01148, allocations: 8.438 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01148, allocations: 8 kB / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01148, allocations: 0 / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01149, allocations: 0 / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.01197, allocations: 330 kB / 0.9564 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01197, allocations: 0 / 0.9564 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.01201, allocations: 4 kB / 0.9564 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.01201, allocations: 3.984 kB / 0.9564 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01202, allocations: 0 / 0.9564 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01202, allocations: 0 / 0.9564 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01202, allocations: 0 / 0.9564 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.01235, allocations: 223.3 kB / 0.9566 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.01236, allocations: 11.88 kB / 0.9566 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.01238, allocations: 4 kB / 0.9566 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.01247, allocations: 3.938 kB / 0.9566 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.01251, allocations: 11.97 kB / 0.9567 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.01252, allocations: 4 kB / 0.9567 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.147e-05/0.01258, allocations: 95.27 kB / 0.9568 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01258, allocations: 0 / 0.9568 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003029/0.01289, allocations: 39.92 kB / 0.9568 GB, free: 5.277 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.0003919/0.01328, allocations: 165.9 kB / 0.957 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.01354, allocations: 68.14 kB / 0.957 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01355, allocations: 0 / 0.957 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01365, allocations: 44.09 kB / 0.9571 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.01391, allocations: 12.06 kB / 0.9571 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.01432, allocations: 177.5 kB / 0.9572 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.01439, allocations: 68.66 kB / 0.9573 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.01442, allocations: 7.984 kB / 0.9573 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.01446, allocations: 12.5 kB / 0.9573 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.01446, allocations: 0 / 0.9573 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of Templates: time 0.005029/0.01949, allocations: 1.5 MB / 0.9588 GB, free: 3.223 MB / 0.8575 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: 8.249515749514103]