Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001496/0.001496, 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.001646/0.001646, allocations: 161.6 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.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.582 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.878/2.878, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.074e-05, allocations: 6.828 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003131/0.003162, allocations: 1.516 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.004967, allocations: 0.7652 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.005034, allocations: 2.031 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.005077, allocations: 11.86 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.005143, allocations: 15.86 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.005885, allocations: 148 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.006041, allocations: 75.7 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.006131, allocations: 9.109 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.00631, allocations: 47.95 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.006388, allocations: 36.97 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.006412, allocations: 8 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.006748, allocations: 139.7 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.006778, allocations: 17.33 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.007074, allocations: 23.97 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.007426, allocations: 167.5 kB / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.007431, allocations: 5.062 kB / 0.7893 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007432, allocations: 0 / 0.7893 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.007438, allocations: 0 / 0.7893 GB, free: 9.855 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.0007709/0.008209, allocations: 349.1 kB / 0.7896 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.008251, allocations: 12.03 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/0.008643, allocations: 29.56 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.008922, allocations: 134.6 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.008951, allocations: 8.375 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.008973, allocations: 8.312 kB / 0.7898 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.009183, allocations: 63.72 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.009193, allocations: 192 / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.009211, allocations: 8.125 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.009216, allocations: 5.875 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.009358, allocations: 35.97 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.009998, allocations: 242.9 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.01015, allocations: 50.48 kB / 0.7902 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.01025, allocations: 28.97 kB / 0.7902 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.01028, allocations: 7.938 kB / 0.7902 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.01048, allocations: 80.06 kB / 0.7903 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.01048, allocations: 0 / 0.7903 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004882/0.01097, allocations: 147.4 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.01102, allocations: 55.41 kB / 0.7905 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.01118, allocations: 125.7 kB / 0.7906 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.0112, allocations: 30.86 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.01128, allocations: 88.14 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.01131, allocations: 19.83 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01138, allocations: 31.08 kB / 0.7908 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.01156, allocations: 314.8 kB / 0.7911 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.01166, allocations: 27.98 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01178, allocations: 56.17 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01197, allocations: 79.3 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01198, allocations: 0 / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000293/0.01227, allocations: 126.2 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01229, allocations: 7.5 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01229, allocations: 0 / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.01231, allocations: 4 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01242, allocations: 8 kB / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.01243, allocations: 7.922 kB / 0.7914 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.0125, allocations: 14.23 kB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.01252, allocations: 4 kB / 0.7914 GB, free: 7.516 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.0001197/0.01264, allocations: 113.8 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.01267, allocations: 15.89 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.0127, allocations: 13.14 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.0127, allocations: 0 / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01271, allocations: 0.5312 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01271, allocations: 1.656 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.01322, allocations: 330 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.01322, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.01327, allocations: 8 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01328, allocations: 0.5938 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01329, allocations: 9.297 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01329, allocations: 0 / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0133, allocations: 0 / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.01365, allocations: 216.3 kB / 0.7921 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.01367, allocations: 7.938 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01369, allocations: 8.781 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.01378, allocations: 4 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.01383, allocations: 13.25 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01384, allocations: 3.938 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.01392, allocations: 95.27 kB / 0.7922 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01392, allocations: 0 / 0.7922 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003294/0.01425, allocations: 40.58 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.0004662/0.01471, allocations: 157.5 kB / 0.7924 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.01497, allocations: 65.11 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01498, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.01509, allocations: 43.48 kB / 0.7925 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.01538, allocations: 15.88 kB / 0.7925 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.01589, allocations: 184.9 kB / 0.7927 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.391e-05/0.01597, allocations: 67.34 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.553e-05/0.01601, allocations: 8.484 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.01605, allocations: 14 kB / 0.7928 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01605, allocations: 0 / 0.7928 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of Templates: time 0.005333/0.02139, allocations: 1.504 MB / 0.7942 GB, free: 4.555 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.868290327955037]