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.002566/0.002566, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.00247/0.00247, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.931/2.931, 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.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.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.452e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003297/0.003331, allocations: 1.537 MB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.005001, allocations: 0.7809 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.005054, allocations: 4 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.005096, allocations: 9.328 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.005161, allocations: 11.86 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.00581, allocations: 144 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.005959, allocations: 83.7 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.006068, allocations: 5.156 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.006249, allocations: 55.88 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.006326, allocations: 37.88 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.006353, allocations: 4 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.006664, allocations: 139.7 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.006696, allocations: 15.98 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.006748, allocations: 23.91 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.007098, allocations: 168 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.007105, allocations: 4 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.007106, allocations: 1.062 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.007111, allocations: 0 / 0.7893 GB, free: 9.824 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.0008073/0.007919, allocations: 451.1 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.007962, allocations: 8.031 kB / 0.7897 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.008324, allocations: 38.39 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.008551, allocations: 128.5 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.008577, allocations: 4.375 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.008593, allocations: 4.375 kB / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.008793, allocations: 75.94 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.008803, allocations: 192 / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.008817, allocations: 4.125 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.008821, allocations: 0 / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.008958, allocations: 38.38 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.00959, allocations: 311.7 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.009743, allocations: 50.98 kB / 0.7904 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.009835, allocations: 36.42 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.009864, allocations: 7.922 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.01004, allocations: 82.69 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.01005, allocations: 0 / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004472/0.01049, allocations: 137.8 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.01055, allocations: 61.09 kB / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.01072, allocations: 187.3 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.01075, allocations: 33.7 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.01085, allocations: 134.9 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.01088, allocations: 20.55 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.01125, allocations: 35.38 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002806/0.01153, allocations: 0.497 MB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.01161, allocations: 23.98 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01172, allocations: 53.3 kB / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.01191, allocations: 91.09 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01191, allocations: 0 / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000266/0.01218, allocations: 118.2 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.0122, allocations: 4.531 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.0122, allocations: 1.656 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01222, allocations: 4 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01232, allocations: 11.98 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01233, allocations: 7.938 kB / 0.7919 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.01239, allocations: 8.516 kB / 0.7919 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.01241, allocations: 11.98 kB / 0.7919 GB, free: 6.969 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.0001608/0.01258, allocations: 169.8 kB / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.0126, allocations: 11.89 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.01263, allocations: 9.594 kB / 0.7921 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01263, allocations: 4 kB / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01264, allocations: 0 / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01264, allocations: 5.359 kB / 0.7921 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.01319, allocations: 381.2 kB / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01319, allocations: 0 / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.01323, allocations: 8.891 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01323, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.01325, allocations: 4.844 kB / 0.7924 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01325, allocations: 0 / 0.7924 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01325, allocations: 0 / 0.7924 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.01362, allocations: 265.1 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.01363, allocations: 11.95 kB / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01365, allocations: 3.984 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.01374, allocations: 4.625 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.01379, allocations: 4.828 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.01381, allocations: 4 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001127/0.01392, allocations: 151.3 kB / 0.7929 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01392, allocations: 0 / 0.7929 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003095/0.01423, allocations: 35.94 kB / 0.7929 GB, free: 5.859 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.0005351/0.01476, allocations: 173 kB / 0.7931 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.01504, allocations: 79.81 kB / 0.7931 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01504, allocations: 0 / 0.7931 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.01515, allocations: 43.8 kB / 0.7932 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01542, allocations: 19.92 kB / 0.7932 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.01591, allocations: 185.6 kB / 0.7934 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.568e-05/0.01599, allocations: 77.2 kB / 0.7935 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.01603, allocations: 4 kB / 0.7935 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.01607, allocations: 17.83 kB / 0.7935 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01607, allocations: 0 / 0.7935 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.00542/0.02149, allocations: 1.514 MB / 0.7949 GB, free: 3.746 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 240] 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: 8.165724333026446]