Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001534/0.001534, 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.00179/0.00179, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.828/2.828, allocations: 359 MB / 0.6048 GB, free: 10.97 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.999e-05, allocations: 7.375 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003442/0.003472, allocations: 1.519 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.005191, allocations: 0.7707 MB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.005258, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.005291, allocations: 3.938 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.005356, allocations: 13.42 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.006096, allocations: 143.4 kB / 0.7888 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.006256, allocations: 79.75 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.006338, allocations: 11.53 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.006516, allocations: 55.81 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.006593, allocations: 31.91 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.006618, allocations: 8 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.006946, allocations: 139.7 kB / 0.7891 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.006979, allocations: 19.91 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.007033, allocations: 19.98 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.00737, allocations: 175.4 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.007373, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.01e-07/0.007373, allocations: 0.875 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.007379, 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.0007239/0.008103, allocations: 344.1 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.008142, allocations: 8.75 kB / 0.7896 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.008507, allocations: 38.27 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.008781, allocations: 129.7 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.008807, allocations: 4.984 kB / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.008824, allocations: 4.375 kB / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.009032, allocations: 75.23 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.009045, allocations: 4.188 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.00906, allocations: 8.812 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.009065, allocations: 0 / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.00921, allocations: 36.66 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.009861, allocations: 249.8 kB / 0.7901 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.01001, allocations: 43.06 kB / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/0.01011, allocations: 26.41 kB / 0.7902 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.01014, allocations: 11.86 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.01033, allocations: 78.08 kB / 0.7903 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.01033, allocations: 0 / 0.7903 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005135/0.01084, allocations: 153.9 kB / 0.7904 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.0109, allocations: 51.41 kB / 0.7905 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.01105, allocations: 126 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.01108, allocations: 33.7 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.01116, allocations: 85.73 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.0112, allocations: 19.84 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.01127, allocations: 29.7 kB / 0.7908 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.01148, allocations: 318.8 kB / 0.7911 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.01159, allocations: 24.48 kB / 0.7911 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.01171, allocations: 54.98 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.01191, allocations: 76.5 kB / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01191, allocations: 3.938 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002967/0.01221, allocations: 120.1 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.01222, allocations: 9.719 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01223, allocations: 0 / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.01225, allocations: 0 / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01236, allocations: 15.98 kB / 0.7914 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01237, allocations: 0.5312 kB / 0.7914 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-05/0.01246, allocations: 12.45 kB / 0.7914 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01247, allocations: 9.016 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.0001237/0.0126, allocations: 117.8 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.01263, allocations: 12.8 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.01266, allocations: 12.44 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01266, allocations: 0.8438 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01266, allocations: 0 / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01267, allocations: 6.172 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.01321, allocations: 326.1 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01321, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.01326, allocations: 7.938 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01326, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.01328, allocations: 5.125 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01328, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.01328, allocations: 3.984 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.01367, allocations: 216.4 kB / 0.7921 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.01369, allocations: 7.953 kB / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.01371, allocations: 9.062 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.01381, allocations: 7.984 kB / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.01386, allocations: 7.984 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01387, allocations: 1.094 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.291e-05/0.01395, allocations: 97.14 kB / 0.7922 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01395, allocations: 0 / 0.7922 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00033/0.01428, allocations: 37.09 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.0004778/0.01476, allocations: 163.8 kB / 0.7924 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.01526, allocations: 69.53 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01526, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.01538, allocations: 33.16 kB / 0.7925 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01567, allocations: 25.58 kB / 0.7925 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.01614, allocations: 170.6 kB / 0.7927 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.963e-05/0.01623, allocations: 83.19 kB / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.221e-05/0.01629, allocations: 7.984 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.01633, allocations: 16.5 kB / 0.7928 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01633, allocations: 0 / 0.7928 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.005364/0.0217, allocations: 1.496 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.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.794423791114241]