Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001843/0.001843, allocations: 83.69 kB / 20.23 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.002094/0.002094, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.559/1.559, 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.893/2.893, allocations: 359 MB / 0.6048 GB, free: 10.93 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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.929e-05/4.162e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003584/0.003626, allocations: 1.544 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.005334, allocations: 0.7851 MB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.005407, allocations: 3.938 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.005436, allocations: 5.156 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.005504, allocations: 7.875 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.006164, allocations: 144.2 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.006323, allocations: 75.72 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.006423, allocations: 17.75 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.006595, allocations: 47.91 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.00667, allocations: 31.94 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.006698, allocations: 8 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.006991, allocations: 139.1 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.007025, allocations: 23.91 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.007073, allocations: 19.92 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.00741, allocations: 175.4 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.007413, allocations: 0 / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.007414, allocations: 0 / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.007419, allocations: 0 / 0.7893 GB, free: 9.805 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.000725/0.008144, allocations: 449.5 kB / 0.7897 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.008182, allocations: 8.719 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.008524, allocations: 33.47 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.008738, allocations: 138 kB / 0.7899 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.008764, allocations: 4.375 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.008777, allocations: 4.375 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.00896, allocations: 66.22 kB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.00897, allocations: 1.438 kB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.008985, allocations: 4.125 kB / 0.79 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.008992, allocations: 4 kB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.009112, allocations: 28.67 kB / 0.79 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.009732, allocations: 316.9 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.009882, allocations: 56.58 kB / 0.7904 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.009966, allocations: 27.8 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.009995, allocations: 11.94 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.01017, allocations: 73.61 kB / 0.7905 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.01017, allocations: 1.375 kB / 0.7905 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004446/0.01062, allocations: 141.8 kB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.01067, allocations: 55.41 kB / 0.7907 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.01084, allocations: 197.5 kB / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01087, allocations: 31.67 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.01096, allocations: 142.9 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.01099, allocations: 19.84 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.01106, allocations: 35.36 kB / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002849/0.01134, allocations: 0.4884 MB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.01152, allocations: 28.52 kB / 0.7916 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.01164, allocations: 59.75 kB / 0.7916 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.01181, allocations: 80.3 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01181, allocations: 4 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002781/0.01209, allocations: 119.2 kB / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.0121, allocations: 4 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01211, allocations: 4 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.01213, allocations: 0.7812 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01224, allocations: 19.94 kB / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01224, allocations: 4.672 kB / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.0123, allocations: 7.953 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.01232, allocations: 8.484 kB / 0.7919 GB, free: 6.953 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.0001319/0.01245, allocations: 165.7 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.01248, allocations: 11.89 kB / 0.792 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.01251, allocations: 17.33 kB / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01251, allocations: 0 / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01252, allocations: 0.8438 kB / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01252, allocations: 0 / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.01306, allocations: 391.5 kB / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01306, allocations: 0 / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.0131, allocations: 3.938 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.0131, allocations: 4 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01311, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01311, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01311, allocations: 2.781 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.01348, allocations: 271.7 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.01349, allocations: 7.953 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.01351, allocations: 4 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.01359, allocations: 4 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.01364, allocations: 3.984 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01365, allocations: 4 kB / 0.7927 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.471e-05/0.01374, allocations: 144.6 kB / 0.7929 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01374, allocations: 0 / 0.7929 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003156/0.01406, allocations: 39.92 kB / 0.7929 GB, free: 5.84 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.0005028/0.01456, allocations: 162.3 kB / 0.7931 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.01483, allocations: 79.81 kB / 0.7931 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01484, allocations: 4.656 kB / 0.7931 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01497, allocations: 44.77 kB / 0.7932 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.01524, allocations: 11.94 kB / 0.7932 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.0157, allocations: 191.5 kB / 0.7934 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.01578, allocations: 72.38 kB / 0.7934 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.01581, allocations: 5.109 kB / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.01585, allocations: 12.5 kB / 0.7935 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01585, allocations: 1.125 kB / 0.7935 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.00549/0.02134, allocations: 1.525 MB / 0.7949 GB, free: 3.723 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.099860120099038]