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.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") 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.391/1.391, allocations: 255.9 MB / 271.2 MB, free: 8.906 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.0009602/0.0009602, allocations: 189.4 kB / 330.8 MB, free: 460 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.704/1.704, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.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.0009394/0.0009396, allocations: 101.4 kB / 0.709 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 8.719 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1869, allocations: 109.2 MB / 0.9327 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002342/0.1893, allocations: 1.209 MB / 0.9339 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1911, allocations: 0.999 MB / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.1912, allocations: 0 / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.1913, allocations: 0 / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.1914, allocations: 11.88 kB / 0.9349 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.1921, allocations: 99.83 kB / 0.935 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1923, allocations: 71.77 kB / 0.9351 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1924, allocations: 15.94 kB / 0.9351 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1926, allocations: 27.91 kB / 0.9351 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1927, allocations: 39.83 kB / 0.9352 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1927, allocations: 4 kB / 0.9352 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.193, allocations: 83.86 kB / 0.9352 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.1931, allocations: 19.91 kB / 0.9353 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.1932, allocations: 53.56 kB / 0.9353 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1935, allocations: 139.9 kB / 0.9354 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1935, allocations: 0 / 0.9354 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1935, allocations: 0 / 0.9354 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.1935, allocations: 0 / 0.9354 GB, free: 21.25 MB / 0.5886 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.0007057/0.1942, allocations: 405 kB / 0.9358 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1943, allocations: 13.11 kB / 0.9358 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1944, allocations: 4.938 kB / 0.9358 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1945, allocations: 188.1 kB / 0.936 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.1946, allocations: 4.375 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.1946, allocations: 4.375 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1949, allocations: 81.88 kB / 0.9361 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1949, allocations: 4 kB / 0.9361 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1949, allocations: 4 kB / 0.9361 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1949, allocations: 0 / 0.9361 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.1952, allocations: 43.97 kB / 0.9362 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.196, allocations: 320.6 kB / 0.9365 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1962, allocations: 54.56 kB / 0.9365 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.1963, allocations: 36.95 kB / 0.9366 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1964, allocations: 4 kB / 0.9366 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.1966, allocations: 79.38 kB / 0.9366 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.1967, allocations: 0 / 0.9366 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0006107/0.1973, allocations: 149.5 kB / 0.9368 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1973, allocations: 55.41 kB / 0.9368 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1975, allocations: 113.8 kB / 0.9369 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1975, allocations: 41.69 kB / 0.937 GB, free: 19.47 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.1976, allocations: 84.14 kB / 0.9371 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1976, allocations: 19.75 kB / 0.9371 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.1976, allocations: 0 / 0.9371 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.1977, allocations: 326.8 kB / 0.9374 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1978, allocations: 23.98 kB / 0.9374 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.198, allocations: 54.55 kB / 0.9375 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1983, allocations: 78.8 kB / 0.9375 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1983, allocations: 0 / 0.9375 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003806/0.1987, allocations: 125.5 kB / 0.9377 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1987, allocations: 11.91 kB / 0.9377 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1987, allocations: 3.938 kB / 0.9377 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1988, allocations: 3.938 kB / 0.9377 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1989, allocations: 15.98 kB / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1989, allocations: 0 / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1991, allocations: 16 kB / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1991, allocations: 7.984 kB / 0.9377 GB, free: 18.68 MB / 0.5886 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 0.0001056/0.1992, allocations: 122.4 kB / 0.9378 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1992, allocations: 7.906 kB / 0.9378 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.1993, allocations: 8.375 kB / 0.9379 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1993, allocations: 4 kB / 0.9379 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1993, allocations: 0 / 0.9379 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1993, allocations: 0 / 0.9379 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.2, allocations: 394.3 kB / 0.9382 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2, allocations: 0 / 0.9382 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.2, allocations: 11.98 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2001, allocations: 0 / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2001, allocations: 4 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2001, allocations: 0 / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.2001, allocations: 7.938 kB / 0.9383 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.2005, allocations: 211.5 kB / 0.9385 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.2006, allocations: 85.02 kB / 0.9385 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.2006, allocations: 0 / 0.9385 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.2008, allocations: 15.98 kB / 0.9386 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.2009, allocations: 11.88 kB / 0.9386 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2009, allocations: 0 / 0.9386 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.201, allocations: 91.27 kB / 0.9386 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.11e-07/0.201, allocations: 0 / 0.9386 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005052/0.2015, allocations: 39.98 kB / 0.9387 GB, free: 17.58 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.000467/0.202, allocations: 186.1 kB / 0.9389 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.2023, allocations: 71.91 kB / 0.9389 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2024, allocations: 0 / 0.9389 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.2025, allocations: 39.97 kB / 0.939 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2029, allocations: 8.125 kB / 0.939 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.2035, allocations: 205.2 kB / 0.9392 GB, free: 17.06 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2037, allocations: 0.6925 MB / 0.9399 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.953e-05/0.2037, allocations: 8 kB / 0.9399 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.2038, allocations: 15.38 kB / 0.9399 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.2038, allocations: 0 / 0.9399 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.005635/0.2095, allocations: 1.357 MB / 0.9412 GB, free: 14.96 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)