Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001992/0.001992, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.00235/0.00235, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.772/2.772, allocations: 359 MB / 0.6048 GB, free: 10.94 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.323e-05, allocations: 4.078 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003781/0.003814, allocations: 1.513 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.005867, allocations: 0.7699 MB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.005949, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.005996, allocations: 9.422 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.006069, allocations: 11.86 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.006943, allocations: 148.2 kB / 0.7888 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.007127, allocations: 83.7 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.007232, allocations: 9.609 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.007428, allocations: 51.89 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.00752, allocations: 35.88 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.007557, allocations: 8 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.007929, allocations: 138.7 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.00796, allocations: 15.98 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.008017, allocations: 23.91 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.008428, allocations: 171.5 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.008433, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008434, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.008439, allocations: 0 / 0.7893 GB, free: 9.867 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.0008144/0.009254, allocations: 348.8 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.009303, allocations: 8.031 kB / 0.7896 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.009722, allocations: 33.47 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.01005, allocations: 134.8 kB / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.01008, allocations: 4.312 kB / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.0101, allocations: 8.375 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.01034, allocations: 72.38 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01035, allocations: 192 / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.01037, allocations: 4.125 kB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01038, allocations: 0 / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.01056, allocations: 41.5 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.01126, allocations: 244.5 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.01143, allocations: 52.2 kB / 0.7902 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.01154, allocations: 28.97 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.01157, allocations: 3.938 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.01177, allocations: 81.69 kB / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.01177, allocations: 0 / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005319/0.0123, allocations: 141.8 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.01237, allocations: 55.34 kB / 0.7905 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01253, allocations: 126.6 kB / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.01256, allocations: 30.42 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.01264, allocations: 92.12 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.01267, allocations: 16.34 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.01273, allocations: 31.3 kB / 0.7908 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.01292, allocations: 318.8 kB / 0.7911 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01303, allocations: 27.97 kB / 0.7911 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01314, allocations: 50.5 kB / 0.7911 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.01335, allocations: 79.95 kB / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01335, allocations: 0.5938 kB / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003151/0.01367, allocations: 126.8 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.01369, allocations: 4 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.0137, allocations: 1.375 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.01372, allocations: 7.938 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01383, allocations: 8 kB / 0.7914 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.01384, allocations: 5.109 kB / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.01391, allocations: 7.953 kB / 0.7914 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01393, allocations: 4 kB / 0.7914 GB, free: 7.531 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.0001249/0.01405, allocations: 123.1 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01408, allocations: 11.89 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.01412, allocations: 17.27 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01412, allocations: 0 / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.01413, allocations: 1.938 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01413, allocations: 0 / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.01471, allocations: 326.1 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01471, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.01476, allocations: 8 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.01477, allocations: 4.672 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01478, allocations: 2.406 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01478, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.01478, allocations: 4 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.01518, allocations: 211.4 kB / 0.7921 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.0152, allocations: 19.86 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01522, allocations: 0 / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.01532, allocations: 5.875 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.01538, allocations: 7.984 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.01539, allocations: 4 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.448e-05/0.01548, allocations: 101.7 kB / 0.7922 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01548, allocations: 0 / 0.7922 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003538/0.01583, allocations: 40.42 kB / 0.7922 GB, free: 6.613 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.0005158/0.01635, allocations: 160.6 kB / 0.7924 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01662, allocations: 68.8 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01662, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.01675, allocations: 40.95 kB / 0.7925 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01704, allocations: 15.53 kB / 0.7925 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.0176, allocations: 186 kB / 0.7927 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.662e-05/0.01769, allocations: 75.27 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.01773, allocations: 4 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.01778, allocations: 12.5 kB / 0.7928 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.01778, allocations: 1.312 kB / 0.7928 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.005798/0.02357, allocations: 1.502 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.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.856658060918562]