Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.001855/0.001855, 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.001969/0.001969, 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.555/1.555, 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.958/2.958, allocations: 359 MB / 0.6048 GB, free: 10.92 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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.966e-05, allocations: 4.844 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003056/0.003086, allocations: 1.66 MB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.00486, allocations: 0.8593 MB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.004925, allocations: 4.906 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.004967, allocations: 11.86 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.005214, allocations: 28.42 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.005941, allocations: 193.8 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.006167, allocations: 163.5 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.006256, allocations: 13.3 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.00647, allocations: 99.78 kB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.006588, allocations: 61.59 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.006631, allocations: 12 kB / 0.7894 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.006944, allocations: 151.7 kB / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.006991, allocations: 31.89 kB / 0.7896 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.007064, allocations: 43.89 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.007461, allocations: 251.8 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.007464, allocations: 0 / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007465, allocations: 0.5 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.00747, allocations: 5.156 kB / 0.7898 GB, free: 9.242 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000917/0.008387, allocations: 0.5725 MB / 0.7904 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.008427, allocations: 12.52 kB / 0.7904 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006709/0.009097, allocations: 75.38 kB / 0.7905 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.009377, allocations: 159.7 kB / 0.7906 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.009404, allocations: 4.375 kB / 0.7906 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.00943, allocations: 8.375 kB / 0.7907 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.009829, allocations: 131.8 kB / 0.7908 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.00984, allocations: 192 / 0.7908 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.009859, allocations: 8.312 kB / 0.7908 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.009866, allocations: 5.281 kB / 0.7908 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.01018, allocations: 80.47 kB / 0.7909 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.01097, allocations: 369.6 kB / 0.7912 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.01127, allocations: 93.55 kB / 0.7913 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.01151, allocations: 71.59 kB / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.01153, allocations: 0 / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.01187, allocations: 133.4 kB / 0.7915 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.01187, allocations: 4.719 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0009325/0.0128, allocations: 268.5 kB / 0.7918 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.01285, allocations: 51.41 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.01306, allocations: 224.1 kB / 0.792 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.01309, allocations: 34.47 kB / 0.7921 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.0132, allocations: 155 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.01324, allocations: 25.12 kB / 0.7922 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.01332, allocations: 43.3 kB / 0.7923 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005003/0.01382, allocations: 0.5001 MB / 0.7928 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.01393, allocations: 32.83 kB / 0.7928 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.01411, allocations: 95.38 kB / 0.7929 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.01438, allocations: 131.3 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01439, allocations: 1.812 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003772/0.01476, allocations: 157.5 kB / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01478, allocations: 10.47 kB / 0.7932 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.01479, allocations: 4 kB / 0.7932 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01481, allocations: 0 / 0.7932 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.01496, allocations: 23.92 kB / 0.7932 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.01497, allocations: 4 kB / 0.7932 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.01507, allocations: 15.92 kB / 0.7932 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.01509, allocations: 4.5 kB / 0.7932 GB, free: 5.527 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001501/0.01524, allocations: 170 kB / 0.7934 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.01529, allocations: 23.84 kB / 0.7934 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.01533, allocations: 12.77 kB / 0.7934 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.01533, allocations: 5.875 kB / 0.7934 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01534, allocations: 0 / 0.7934 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01534, allocations: 0 / 0.7934 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009389/0.01628, allocations: 0.4947 MB / 0.7939 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01628, allocations: 1.188 kB / 0.7939 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.01636, allocations: 12 kB / 0.7939 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.01637, allocations: 4.641 kB / 0.7939 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.01639, allocations: 3.984 kB / 0.7939 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01639, allocations: 0.7188 kB / 0.7939 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01639, allocations: 4 kB / 0.7939 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.01709, allocations: 362.7 kB / 0.7943 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.01711, allocations: 11.89 kB / 0.7943 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.01715, allocations: 4 kB / 0.7943 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.01731, allocations: 13.77 kB / 0.7943 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.01738, allocations: 11.98 kB / 0.7943 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.0174, allocations: 7.984 kB / 0.7943 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001285/0.01753, allocations: 160.9 kB / 0.7945 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01753, allocations: 0 / 0.7945 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003301/0.01786, allocations: 44.97 kB / 0.7945 GB, free: 4.141 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004926/0.01835, allocations: 192 kB / 0.7947 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.0188, allocations: 127.7 kB / 0.7948 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01881, allocations: 0 / 0.7948 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.01906, allocations: 83.58 kB / 0.7949 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.01935, allocations: 23.92 kB / 0.7949 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.02, allocations: 266.4 kB / 0.7952 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.0201, allocations: 86.02 kB / 0.7953 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.738e-05/0.02015, allocations: 4.734 kB / 0.7953 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.0202, allocations: 16.5 kB / 0.7953 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.0202, allocations: 0 / 0.7953 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.005943/0.02614, allocations: 2.096 MB / 0.7973 GB, free: 1.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.017506847041659]