Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.002657/0.002657, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002033/0.002033, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.991/2.991, allocations: 359 MB / 0.6048 GB, free: 10.95 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.539e-05, allocations: 3.188 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00285/0.002875, allocations: 1.534 MB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.004492, allocations: 0.7812 MB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.004545, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.004578, allocations: 7.922 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.004652, allocations: 12.62 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.005281, allocations: 148.2 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.005414, allocations: 76.77 kB / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.005489, allocations: 8.172 kB / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.005655, allocations: 60.67 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.005721, allocations: 27.89 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.005747, allocations: 8 kB / 0.789 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.006041, allocations: 140.9 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.006073, allocations: 15.97 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.00612, allocations: 23.92 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.006428, allocations: 176.9 kB / 0.7893 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.00643, allocations: 0 / 0.7893 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006431, allocations: 0 / 0.7893 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.006435, allocations: 0 / 0.7893 GB, free: 9.84 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.000735/0.00717, allocations: 451 kB / 0.7897 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.007207, allocations: 8.031 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.00758, allocations: 39.94 kB / 0.7898 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.007783, allocations: 128.5 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.007808, allocations: 8.375 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.00783, allocations: 8.359 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.008014, allocations: 62.22 kB / 0.79 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.008029, allocations: 8.125 kB / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.008043, allocations: 8.109 kB / 0.79 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.008048, allocations: 1.125 kB / 0.79 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.00818, allocations: 31.98 kB / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.008803, allocations: 309 kB / 0.7903 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.008953, allocations: 51.48 kB / 0.7904 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.009044, allocations: 37.39 kB / 0.7904 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.009068, allocations: 7.875 kB / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.009239, allocations: 81.03 kB / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.00924, allocations: 0 / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004664/0.009706, allocations: 143.3 kB / 0.7906 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.009758, allocations: 55.34 kB / 0.7907 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.009924, allocations: 193 kB / 0.7909 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.009948, allocations: 29.7 kB / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.01004, allocations: 135.5 kB / 0.791 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.01007, allocations: 24.52 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.01014, allocations: 35.38 kB / 0.7911 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002685/0.01041, allocations: 0.4975 MB / 0.7916 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.01049, allocations: 19.98 kB / 0.7916 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.0106, allocations: 55.05 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.01078, allocations: 92.72 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01078, allocations: 0 / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002608/0.01104, allocations: 115.9 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01105, allocations: 9.719 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01106, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01107, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01117, allocations: 15.98 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01118, allocations: 1.844 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.01124, allocations: 11.94 kB / 0.7919 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.01126, allocations: 8 kB / 0.7919 GB, free: 6.988 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.0001361/0.0114, allocations: 164.5 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.01143, allocations: 16.42 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.01145, allocations: 9 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01145, allocations: 3.938 kB / 0.7921 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.01146, allocations: 1.688 kB / 0.7921 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.01146, allocations: 3.984 kB / 0.7921 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.01196, allocations: 381.3 kB / 0.7924 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01196, allocations: 2.219 kB / 0.7924 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.01201, allocations: 11.92 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01201, allocations: 0 / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.01202, allocations: 0 / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01202, allocations: 0 / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.01202, allocations: 4 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.01238, allocations: 268.3 kB / 0.7927 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.0124, allocations: 9.078 kB / 0.7927 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01242, allocations: 7.984 kB / 0.7927 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.0125, allocations: 0 / 0.7927 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.01254, allocations: 8.734 kB / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.01255, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.492e-05/0.01265, allocations: 147.8 kB / 0.7929 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01265, allocations: 0 / 0.7929 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002876/0.01294, allocations: 36.78 kB / 0.7929 GB, free: 5.875 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.0004687/0.0134, allocations: 167.7 kB / 0.7931 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.01387, allocations: 84.47 kB / 0.7931 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01387, allocations: 3.688 kB / 0.7931 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.01398, allocations: 43.75 kB / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01425, allocations: 17.81 kB / 0.7932 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.01468, allocations: 191.2 kB / 0.7934 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.01477, allocations: 71.33 kB / 0.7934 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.01481, allocations: 9.266 kB / 0.7935 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.01484, allocations: 12.5 kB / 0.7935 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of SimCode: time 4.7e-07/0.01484, allocations: 1.031 kB / 0.7935 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.005101/0.01994, allocations: 1.51 MB / 0.7949 GB, free: 3.758 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.01793016702868]