Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001433/0.001433, 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.001722/0.001722, 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.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.731/2.731, allocations: 359 MB / 0.6048 GB, free: 10.92 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0.5469 kB / 0.7863 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.325e-05, allocations: 9.547 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003349/0.003382, allocations: 1.521 MB / 0.7878 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.005081, allocations: 0.7781 MB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.005146, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.005181, allocations: 4.438 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.005242, allocations: 8.844 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.005948, allocations: 148.2 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.006103, allocations: 75.77 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.00621, allocations: 12.17 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.006401, allocations: 56.39 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.006485, allocations: 32.67 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.00651, allocations: 8 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.006842, allocations: 133.1 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.006876, allocations: 19.97 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.006941, allocations: 19.92 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.007336, allocations: 179.4 kB / 0.7893 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007339, allocations: 3.031 kB / 0.7893 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.007341, allocations: 0 / 0.7893 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.007346, allocations: 0 / 0.7893 GB, free: 9.82 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.0006934/0.008039, allocations: 343.6 kB / 0.7896 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.008078, allocations: 8.031 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.008453, allocations: 42 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.008717, allocations: 129.7 kB / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.00874, allocations: 384 / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.008759, allocations: 4.969 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.008984, allocations: 75.33 kB / 0.7898 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.008996, allocations: 192 / 0.7898 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.009015, allocations: 4.125 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.00902, allocations: 0.5312 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.009266, allocations: 40.47 kB / 0.7899 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.009978, allocations: 254.6 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.01014, allocations: 42.56 kB / 0.7902 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.01023, allocations: 30.72 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.01026, allocations: 3.938 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.01045, allocations: 79.31 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.01045, allocations: 0 / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004835/0.01094, allocations: 147.4 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.011, allocations: 55.39 kB / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.01113, allocations: 126.5 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.01117, allocations: 29.7 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.01126, allocations: 88.12 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.0113, allocations: 19.84 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.0114, allocations: 33.64 kB / 0.7908 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.01165, allocations: 321.1 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.01181, allocations: 23.97 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.01194, allocations: 46.56 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.01213, allocations: 75.14 kB / 0.7912 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01214, allocations: 0.7188 kB / 0.7912 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002991/0.01243, allocations: 123.5 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01245, allocations: 11.94 kB / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01246, allocations: 0 / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01247, allocations: 0 / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01258, allocations: 16.61 kB / 0.7914 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01258, allocations: 4 kB / 0.7914 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.01266, allocations: 8.703 kB / 0.7914 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01267, allocations: 4 kB / 0.7914 GB, free: 7.492 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.0001166/0.01279, allocations: 115.6 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.01282, allocations: 23.81 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.01286, allocations: 8.438 kB / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01286, allocations: 0.6875 kB / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01286, allocations: 0 / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01287, allocations: 0.6562 kB / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.01344, allocations: 330.9 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01344, allocations: 0 / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.01349, allocations: 13.89 kB / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0135, allocations: 0 / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01351, allocations: 0 / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01351, allocations: 3.938 kB / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01351, allocations: 0 / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.01388, allocations: 224.1 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.0139, allocations: 10.33 kB / 0.7921 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.01392, allocations: 0 / 0.7921 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.01401, allocations: 4 kB / 0.7921 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.01406, allocations: 7.984 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.01407, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.344e-05/0.01415, allocations: 101.4 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01415, allocations: 1.906 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004082/0.01456, allocations: 39.92 kB / 0.7922 GB, free: 6.578 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.0005018/0.01506, allocations: 166.7 kB / 0.7924 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.01532, allocations: 74.02 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01532, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.01542, allocations: 31.92 kB / 0.7925 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.01572, allocations: 13.28 kB / 0.7925 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.01623, allocations: 182.1 kB / 0.7927 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.384e-05/0.01631, allocations: 71.98 kB / 0.7927 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.01635, allocations: 4.844 kB / 0.7927 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.01639, allocations: 12.5 kB / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01639, allocations: 3.625 kB / 0.7928 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.005674/0.02206, allocations: 1.514 MB / 0.7942 GB, free: 4.512 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.782050087931566]