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.002021/0.002021, 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.002487/0.002487, 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.96 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.744e-06/1.744e-06, allocations: 0 / 0.7864 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.629e-05, allocations: 7.25 kB / 0.7864 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003534/0.00357, allocations: 1.639 MB / 0.788 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.005595, allocations: 0.853 MB / 0.7888 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.005706, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.005756, allocations: 8.531 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.005857, allocations: 29.88 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.006761, allocations: 183.3 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.007053, allocations: 163.5 kB / 0.7892 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.007159, allocations: 18.83 kB / 0.7892 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.007414, allocations: 99.77 kB / 0.7893 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.007545, allocations: 63.84 kB / 0.7893 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.007582, allocations: 13.59 kB / 0.7894 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.007935, allocations: 147.7 kB / 0.7895 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.007982, allocations: 31.89 kB / 0.7895 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.00807, allocations: 51.81 kB / 0.7896 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.008589, allocations: 247.3 kB / 0.7898 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.008592, allocations: 3.438 kB / 0.7898 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.62e-07/0.008593, allocations: 0 / 0.7898 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.008602, allocations: 0 / 0.7898 GB, free: 9.352 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.001074/0.009675, allocations: 480.3 kB / 0.7903 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.009722, allocations: 12.03 kB / 0.7903 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008083/0.01053, allocations: 86.77 kB / 0.7904 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.0109, allocations: 164 kB / 0.7905 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.01093, allocations: 8.359 kB / 0.7905 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.01097, allocations: 8.375 kB / 0.7905 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.01147, allocations: 136.6 kB / 0.7907 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01148, allocations: 192 / 0.7907 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.0115, allocations: 5.094 kB / 0.7907 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.01151, allocations: 3.938 kB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.01195, allocations: 105.8 kB / 0.7908 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.01279, allocations: 292 kB / 0.7911 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.01317, allocations: 94.44 kB / 0.7912 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.0135, allocations: 91.5 kB / 0.7912 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.01352, allocations: 4 kB / 0.7912 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004447/0.01397, allocations: 148.8 kB / 0.7914 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.01397, allocations: 0.5 kB / 0.7914 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.001286/0.01525, allocations: 313.9 kB / 0.7917 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.01531, allocations: 59.95 kB / 0.7917 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01549, allocations: 157.6 kB / 0.7919 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.01552, allocations: 29.7 kB / 0.7919 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.01561, allocations: 104.3 kB / 0.792 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.01565, allocations: 24.7 kB / 0.792 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.01573, allocations: 29.7 kB / 0.7921 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004576/0.01619, allocations: 323.7 kB / 0.7924 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.01634, allocations: 48.89 kB / 0.7924 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.01653, allocations: 76 kB / 0.7925 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.01688, allocations: 124.2 kB / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01689, allocations: 0 / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004482/0.01733, allocations: 171.5 kB / 0.7928 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.01735, allocations: 11.94 kB / 0.7928 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01736, allocations: 1.625 kB / 0.7928 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.01738, allocations: 0 / 0.7928 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.01753, allocations: 19.98 kB / 0.7928 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01754, allocations: 0 / 0.7928 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.01766, allocations: 12.77 kB / 0.7928 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.01768, allocations: 4.562 kB / 0.7928 GB, free: 6.066 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.0001437/0.01783, allocations: 134.8 kB / 0.793 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.01788, allocations: 19.84 kB / 0.793 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.01791, allocations: 17.44 kB / 0.793 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01791, allocations: 0 / 0.793 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01792, allocations: 4.125 kB / 0.793 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01792, allocations: 3.984 kB / 0.793 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.01907, allocations: 461.9 kB / 0.7934 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.01908, allocations: 8 kB / 0.7934 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.789e-05/0.01916, allocations: 11.98 kB / 0.7935 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01917, allocations: 0 / 0.7935 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.01919, allocations: 11.98 kB / 0.7935 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.0192, allocations: 0 / 0.7935 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0192, allocations: 0 / 0.7935 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.02008, allocations: 339.6 kB / 0.7938 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.0201, allocations: 7.953 kB / 0.7938 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.02013, allocations: 8 kB / 0.7938 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.02035, allocations: 19.97 kB / 0.7938 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.02041, allocations: 7.984 kB / 0.7938 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.02043, allocations: 11.92 kB / 0.7938 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001119/0.02054, allocations: 117 kB / 0.794 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02054, allocations: 0 / 0.794 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003586/0.0209, allocations: 51.81 kB / 0.794 GB, free: 4.801 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.0004631/0.02136, allocations: 177.3 kB / 0.7942 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.02193, allocations: 139.8 kB / 0.7943 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02194, allocations: 0 / 0.7943 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.02228, allocations: 92.11 kB / 0.7944 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.0226, allocations: 21.64 kB / 0.7944 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.02336, allocations: 256.6 kB / 0.7947 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.02347, allocations: 93.31 kB / 0.7948 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.02353, allocations: 8.719 kB / 0.7948 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.02358, allocations: 16.5 kB / 0.7948 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.02358, allocations: 3.938 kB / 0.7948 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of Templates: time 0.006356/0.02993, allocations: 2.084 MB / 0.7968 GB, free: 1.906 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 400] 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.012136104982346]