Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 255.9 MB / 271.2 MB, free: 8.879 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 191.3 kB / 330.8 MB, free: 472 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.7 MB / 0.6016 GB, free: 1.543 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007477/0.0007477, allocations: 100.4 kB / 0.709 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8.531 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1895, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001358/0.1909, allocations: 1.213 MB / 0.9339 GB, free: 5.031 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.192, allocations: 0.9952 MB / 0.9349 GB, free: 3.957 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.192, allocations: 3.938 kB / 0.9349 GB, free: 3.953 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1921, allocations: 0 / 0.9349 GB, free: 3.953 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.1921, allocations: 3.938 kB / 0.9349 GB, free: 3.949 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1926, allocations: 107.8 kB / 0.935 GB, free: 3.844 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.802e-05/0.1927, allocations: 71.77 kB / 0.9351 GB, free: 3.773 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.1928, allocations: 12 kB / 0.9351 GB, free: 3.762 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.1929, allocations: 31.91 kB / 0.9351 GB, free: 3.73 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.193, allocations: 39.83 kB / 0.9352 GB, free: 3.691 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.193, allocations: 0 / 0.9352 GB, free: 3.691 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.1931, allocations: 91.84 kB / 0.9353 GB, free: 3.602 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.1932, allocations: 11.92 kB / 0.9353 GB, free: 3.59 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.1932, allocations: 53.56 kB / 0.9353 GB, free: 3.531 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1934, allocations: 135.9 kB / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1934, allocations: 3.984 kB / 0.9355 GB, free: 3.395 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1935, allocations: 0 / 0.9355 GB, free: 3.395 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1935, allocations: 4 kB / 0.9355 GB, free: 3.391 MB / 0.573 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.0005276/0.194, allocations: 397 kB / 0.9358 GB, free: 2.949 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.194, allocations: 15.98 kB / 0.9358 GB, free: 2.934 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.1941, allocations: 4.922 kB / 0.9359 GB, free: 2.93 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.1942, allocations: 176.2 kB / 0.936 GB, free: 2.719 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1942, allocations: 8.375 kB / 0.936 GB, free: 2.711 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1942, allocations: 8.312 kB / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1944, allocations: 77.91 kB / 0.9361 GB, free: 2.621 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1944, allocations: 0 / 0.9361 GB, free: 2.621 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1944, allocations: 7.938 kB / 0.9361 GB, free: 2.613 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1944, allocations: 4 kB / 0.9361 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1946, allocations: 39.97 kB / 0.9362 GB, free: 2.57 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.1951, allocations: 316.7 kB / 0.9365 GB, free: 2.211 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1952, allocations: 62.48 kB / 0.9365 GB, free: 2.141 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.1953, allocations: 40.95 kB / 0.9366 GB, free: 2.098 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1954, allocations: 0 / 0.9366 GB, free: 2.098 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1955, allocations: 79.44 kB / 0.9366 GB, free: 2.008 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1956, allocations: 0 / 0.9366 GB, free: 2.008 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0004061/0.196, allocations: 153.5 kB / 0.9368 GB, free: 1.852 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.196, allocations: 51.41 kB / 0.9368 GB, free: 1.789 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.1961, allocations: 125.8 kB / 0.937 GB, free: 1.656 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1961, allocations: 29.7 kB / 0.937 GB, free: 1.621 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.1962, allocations: 88.14 kB / 0.9371 GB, free: 1.531 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1962, allocations: 23.73 kB / 0.9371 GB, free: 1.508 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.1962, allocations: 4 kB / 0.9371 GB, free: 1.504 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.1963, allocations: 318.8 kB / 0.9374 GB, free: 1.184 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.1963, allocations: 27.98 kB / 0.9374 GB, free: 1.156 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.1964, allocations: 50.55 kB / 0.9375 GB, free: 1.098 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1966, allocations: 90.47 kB / 0.9376 GB, free: 1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1966, allocations: 0 / 0.9376 GB, free: 1 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.1968, allocations: 113.5 kB / 0.9377 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1969, allocations: 11.89 kB / 0.9377 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1969, allocations: 4 kB / 0.9377 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1969, allocations: 3.938 kB / 0.9377 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.197, allocations: 8 kB / 0.9377 GB, free: 0.8555 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.197, allocations: 4 kB / 0.9377 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.1971, allocations: 11.98 kB / 0.9377 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1971, allocations: 4.391 kB / 0.9377 GB, free: 0.8359 MB / 0.573 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 7.049e-05/0.1972, allocations: 126.4 kB / 0.9378 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.1972, allocations: 7.906 kB / 0.9378 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.1972, allocations: 12.36 kB / 0.9379 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1972, allocations: 0 / 0.9379 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1973, allocations: 0 / 0.9379 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1973, allocations: 4 kB / 0.9379 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.1976, allocations: 398.2 kB / 0.9382 GB, free: 240 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1977, allocations: 0 / 0.9382 GB, free: 240 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.1977, allocations: 12 kB / 0.9382 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1977, allocations: 0 / 0.9382 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1977, allocations: 7.984 kB / 0.9383 GB, free: 220 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1977, allocations: 0 / 0.9383 GB, free: 220 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1977, allocations: 3.938 kB / 0.9383 GB, free: 216 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.198, allocations: 211.5 kB / 0.9385 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.198, allocations: 81.02 kB / 0.9385 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1981, allocations: 0 / 0.9385 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.1982, allocations: 15.98 kB / 0.9386 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1982, allocations: 3.938 kB / 0.9386 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1982, allocations: 7.984 kB / 0.9386 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.1983, allocations: 95.27 kB / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.914e-06/0.1983, allocations: 0 / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002708/0.1986, allocations: 39.94 kB / 0.9387 GB, free: 15.73 MB / 0.5886 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.0003451/0.1989, allocations: 177.1 kB / 0.9389 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1992, allocations: 71.95 kB / 0.9389 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1992, allocations: 3.938 kB / 0.9389 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1993, allocations: 39.97 kB / 0.939 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1995, allocations: 8 kB / 0.939 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.2, allocations: 209.3 kB / 0.9392 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.2003, allocations: 0.6887 MB / 0.9399 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.2004, allocations: 7.984 kB / 0.9399 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.2004, allocations: 11.44 kB / 0.9399 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of SimCode: time 1.684e-06/0.2004, allocations: 4 kB / 0.9399 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of Templates: time 0.00382/0.2042, allocations: 1.357 MB / 0.9412 GB, free: 13.12 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)