Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001459/0.001459, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.001577/0.001577, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.835/2.835, 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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.879e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003174/0.003203, allocations: 1.525 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.004902, allocations: 0.7629 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.004969, allocations: 4 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.005007, allocations: 7.922 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.005071, allocations: 8.938 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.005783, allocations: 151.3 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.005948, allocations: 77.33 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.006034, allocations: 16.16 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.006206, allocations: 47.89 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.006289, allocations: 35.83 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.006316, allocations: 5.25 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.006656, allocations: 139.7 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.006685, allocations: 15.97 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.006739, allocations: 22.02 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.007108, allocations: 175.4 kB / 0.7893 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007111, allocations: 0 / 0.7893 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.557e-06/0.007115, allocations: 4 kB / 0.7893 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.007119, allocations: 0 / 0.7893 GB, free: 9.852 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.0007552/0.007874, allocations: 345.7 kB / 0.7896 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.007916, allocations: 8.031 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.00829, allocations: 32.81 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.008559, allocations: 133.7 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.008587, allocations: 8.375 kB / 0.7898 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.008604, allocations: 4.375 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.008836, allocations: 70.22 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008845, allocations: 1.938 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.008862, allocations: 4.125 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.008867, allocations: 0 / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.009012, allocations: 43.89 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.009629, allocations: 250 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.009788, allocations: 49.05 kB / 0.7902 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.009883, allocations: 28.97 kB / 0.7902 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.009907, allocations: 3.938 kB / 0.7902 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.0101, allocations: 83.31 kB / 0.7903 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.0101, allocations: 0 / 0.7903 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004708/0.01057, allocations: 143.1 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.01063, allocations: 55.41 kB / 0.7905 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01077, allocations: 123.7 kB / 0.7906 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.0108, allocations: 29.7 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.01096, allocations: 88.14 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.01099, allocations: 23.83 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.01105, allocations: 30.36 kB / 0.7908 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.01122, allocations: 310.8 kB / 0.7911 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.01132, allocations: 33.11 kB / 0.7911 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.01143, allocations: 58.42 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.01163, allocations: 77.14 kB / 0.7912 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01163, allocations: 0 / 0.7912 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002869/0.01192, allocations: 114.3 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01193, allocations: 10.19 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01194, allocations: 4.828 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.01196, allocations: 0 / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01206, allocations: 13.22 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.01207, allocations: 4 kB / 0.7914 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.01215, allocations: 15.94 kB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01217, allocations: 0.8438 kB / 0.7914 GB, free: 7.52 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.0001248/0.01229, allocations: 118.8 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.01232, allocations: 15.83 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.01235, allocations: 12.42 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01236, allocations: 5.531 kB / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.01236, allocations: 0 / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01237, allocations: 0 / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.0129, allocations: 327.3 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0129, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.01294, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.01295, allocations: 11.11 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01296, allocations: 3.984 kB / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01296, allocations: 0 / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01296, allocations: 0 / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.01332, allocations: 223.3 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.01334, allocations: 11.89 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.01336, allocations: 7.984 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01346, allocations: 4.5 kB / 0.7921 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.01351, allocations: 3.984 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.01353, allocations: 5.938 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.221e-05/0.01361, allocations: 92.64 kB / 0.7922 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01361, allocations: 0 / 0.7922 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003358/0.01394, allocations: 43.92 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.0004851/0.01443, allocations: 162.9 kB / 0.7924 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.01468, allocations: 68.14 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01468, allocations: 4 kB / 0.7924 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.01479, allocations: 36.05 kB / 0.7925 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.01508, allocations: 19.88 kB / 0.7925 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.01557, allocations: 175.3 kB / 0.7927 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.01566, allocations: 71.34 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.0157, allocations: 8.922 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.01574, allocations: 16.5 kB / 0.7928 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.01575, allocations: 1.125 kB / 0.7928 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.005354/0.0211, allocations: 1.515 MB / 0.7942 GB, free: 4.531 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.927255971939303]