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.001818/0.001818, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002315/0.002315, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.215 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.767/2.767, allocations: 359 MB / 0.6048 GB, free: 10.96 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.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 1.643e-06/1.643e-06, allocations: 224 / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.424e-05, allocations: 8.781 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003074/0.003108, allocations: 1.519 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.004822, allocations: 0.7661 MB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.004892, allocations: 7.938 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.004928, allocations: 3.938 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.005005, allocations: 17.77 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.005752, allocations: 147.4 kB / 0.7888 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.005918, allocations: 79.72 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.006024, allocations: 9.734 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.006205, allocations: 47.95 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.006278, allocations: 35.88 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.006302, allocations: 4 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.006632, allocations: 140.8 kB / 0.7891 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.006664, allocations: 15.92 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.00672, allocations: 23.97 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.007085, allocations: 172.1 kB / 0.7893 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.007088, allocations: 0 / 0.7893 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.01e-07/0.007089, allocations: 1.094 kB / 0.7893 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.007093, allocations: 4 kB / 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.0007186/0.007812, allocations: 354.1 kB / 0.7896 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.007852, allocations: 8.031 kB / 0.7896 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.008223, allocations: 32.86 kB / 0.7896 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.008494, allocations: 129.6 kB / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.008524, allocations: 9.094 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.008543, allocations: 4.375 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.008753, allocations: 66.75 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008764, allocations: 1.844 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.00878, allocations: 4.125 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.008786, allocations: 0 / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.008941, allocations: 39.97 kB / 0.7899 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.009552, allocations: 250.1 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.009697, allocations: 47.66 kB / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.009789, allocations: 32.97 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.009818, allocations: 5.312 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.009996, allocations: 75.38 kB / 0.7903 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.009998, allocations: 0 / 0.7903 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004744/0.01047, allocations: 147.5 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.01053, allocations: 59.39 kB / 0.7905 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01068, allocations: 118.1 kB / 0.7906 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.01071, allocations: 26.55 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01082, allocations: 96.12 kB / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.01086, allocations: 23.91 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.01094, allocations: 26.55 kB / 0.7908 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.01116, allocations: 318.8 kB / 0.7911 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.01127, allocations: 33.2 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.01139, allocations: 46.56 kB / 0.7911 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.01158, allocations: 80.45 kB / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.01159, allocations: 0 / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003199/0.01191, allocations: 118.9 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.01193, allocations: 8 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01194, allocations: 1.375 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.01196, allocations: 0 / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.01207, allocations: 15.92 kB / 0.7914 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.01208, allocations: 4 kB / 0.7914 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.01216, allocations: 10.92 kB / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.01218, allocations: 4 kB / 0.7914 GB, free: 7.535 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.0001498/0.01233, allocations: 120.5 kB / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.01237, allocations: 19.86 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.01241, allocations: 8.438 kB / 0.7915 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01241, allocations: 4 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01242, allocations: 0.5 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01242, allocations: 1.938 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.01302, allocations: 322.1 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01302, allocations: 4 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.01306, allocations: 3.984 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.01307, allocations: 4.656 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.01309, allocations: 4 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01309, allocations: 0.5938 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01309, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.01348, allocations: 226.1 kB / 0.7921 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.0135, allocations: 11.89 kB / 0.7921 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.01352, allocations: 3.938 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01362, allocations: 4 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.01368, allocations: 7.984 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01369, allocations: 4 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.373e-05/0.01379, allocations: 93.39 kB / 0.7922 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01379, allocations: 0 / 0.7922 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003544/0.01414, allocations: 39.92 kB / 0.7922 GB, free: 6.621 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.0005707/0.01471, allocations: 167.4 kB / 0.7924 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.01502, allocations: 73.17 kB / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01502, allocations: 5.094 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01514, allocations: 32.12 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.0003128/0.01545, allocations: 21.06 kB / 0.7925 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.01606, allocations: 180.5 kB / 0.7927 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.01618, allocations: 77.02 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.043e-05/0.01623, allocations: 4.5 kB / 0.7928 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.01627, allocations: 9.844 kB / 0.7928 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01627, allocations: 4 kB / 0.7928 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.005666/0.02193, allocations: 1.502 MB / 0.7942 GB, free: 4.547 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] 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.071084700059146]