Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.00213/0.00213, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002639/0.002639, allocations: 161.6 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.569/1.569, allocations: 177.2 MB / 203.9 MB, free: 5.598 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.782/2.782, allocations: 359 MB / 0.6048 GB, free: 10.93 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.6e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002946/0.002972, allocations: 1.518 MB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004613, allocations: 0.7652 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.004673, allocations: 4.5 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.004708, allocations: 7.922 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.004769, allocations: 16.72 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.005445, allocations: 136.5 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.005588, allocations: 83.69 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.005669, allocations: 13.33 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.005834, allocations: 47.95 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.005907, allocations: 31.89 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.00593, allocations: 8.562 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.006233, allocations: 136.4 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.006266, allocations: 23.91 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.006314, allocations: 16.89 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.006632, allocations: 175.4 kB / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006635, allocations: 0 / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006635, allocations: 0.6562 kB / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.00664, allocations: 0 / 0.7893 GB, free: 9.859 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.0006666/0.007307, allocations: 344.5 kB / 0.7896 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.007348, allocations: 17.61 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.007696, allocations: 32.88 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.008053, allocations: 137.1 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.008077, allocations: 4.375 kB / 0.7898 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.008094, allocations: 4.375 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.008294, allocations: 70.2 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.008303, allocations: 192 / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.008319, allocations: 4.125 kB / 0.7899 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.00833, allocations: 4 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.00847, allocations: 35.97 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.009056, allocations: 250.8 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.009198, allocations: 46.55 kB / 0.7902 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.009288, allocations: 24.97 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.00932, allocations: 12.91 kB / 0.7902 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.009496, allocations: 71.38 kB / 0.7903 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.009497, allocations: 0.9062 kB / 0.7903 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004682/0.009965, allocations: 150.9 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.01002, allocations: 55.41 kB / 0.7905 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.01015, allocations: 129.4 kB / 0.7906 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.01017, allocations: 25.7 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.01024, allocations: 88.14 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.01027, allocations: 19.83 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.01032, allocations: 26.41 kB / 0.7908 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.01049, allocations: 322.8 kB / 0.7911 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.01058, allocations: 25.23 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.01069, allocations: 50.48 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.01088, allocations: 81.14 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01088, allocations: 0 / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002732/0.01116, allocations: 118.1 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01117, allocations: 4 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01118, allocations: 4.672 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.0112, allocations: 4 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.0113, allocations: 16.47 kB / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.0113, allocations: 1.156 kB / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.01137, allocations: 11.94 kB / 0.7914 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.01139, allocations: 4 kB / 0.7914 GB, free: 7.527 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.0001084/0.01149, allocations: 115.6 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.01153, allocations: 19.89 kB / 0.7915 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.01155, allocations: 8.422 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01155, allocations: 1.062 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01156, allocations: 4 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01156, allocations: 0 / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.01208, allocations: 330.8 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01208, allocations: 1 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.01213, allocations: 8 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01213, allocations: 1.156 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.01214, allocations: 7.984 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01214, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01215, allocations: 4.828 kB / 0.7919 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.01249, allocations: 223.3 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.0125, allocations: 6.172 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.01253, allocations: 7.984 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.01263, allocations: 0 / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.01267, allocations: 7.984 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.01268, allocations: 0 / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.01275, allocations: 107.7 kB / 0.7922 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01275, allocations: 0 / 0.7922 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003134/0.01307, allocations: 35.94 kB / 0.7922 GB, free: 6.609 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.0005014/0.01357, allocations: 163.1 kB / 0.7924 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.01383, allocations: 68.14 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01383, allocations: 0.625 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.01394, 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.0003019/0.01424, allocations: 20.98 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.0005536/0.01479, allocations: 186.1 kB / 0.7927 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.01489, allocations: 68.44 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.01494, allocations: 7.984 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.01498, allocations: 13.16 kB / 0.7928 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/0.01498, allocations: 1.281 kB / 0.7928 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of Templates: time 0.005323/0.0203, allocations: 1.509 MB / 0.7942 GB, free: 4.551 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.950114930048585]