Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.369/2.369, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001398/0.001397, allocations: 192.7 kB / 329.5 MB, free: 1.172 MB / 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 2.671/2.671, allocations: 225.6 MB / 0.6001 GB, free: 2.168 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.0009411/0.0009406, allocations: 104.4 kB / 0.7074 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004655, allocations: 11.53 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001783/0.2093, allocations: 1.205 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2107, allocations: 0.6782 MB / 0.9326 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.2108, allocations: 0 / 0.9326 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.2108, allocations: 3.938 kB / 0.9326 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/0.2109, allocations: 15.91 kB / 0.9326 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2114, allocations: 87.78 kB / 0.9327 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2115, allocations: 67.77 kB / 0.9328 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.2116, allocations: 23.97 kB / 0.9328 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.2117, allocations: 23.92 kB / 0.9328 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.2118, allocations: 35.83 kB / 0.9328 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.2119, allocations: 4 kB / 0.9329 GB, free: 23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.2121, allocations: 83.91 kB / 0.9329 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2121, allocations: 11.92 kB / 0.9329 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.2122, allocations: 37.7 kB / 0.933 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2123, allocations: 96.03 kB / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2124, allocations: 0 / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2124, allocations: 0 / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2124, allocations: 4 kB / 0.9331 GB, free: 22.77 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.0006115/0.213, allocations: 417 kB / 0.9335 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2131, allocations: 8.031 kB / 0.9335 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.2131, allocations: 12.84 kB / 0.9335 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2133, allocations: 176.2 kB / 0.9337 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.2133, allocations: 384 / 0.9337 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2133, allocations: 4.375 kB / 0.9337 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.2136, allocations: 81.97 kB / 0.9337 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2136, allocations: 3.984 kB / 0.9337 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2136, allocations: 0 / 0.9337 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2136, allocations: 0 / 0.9337 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.2139, allocations: 47.91 kB / 0.9338 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.2146, allocations: 320.8 kB / 0.9341 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.2148, allocations: 46.56 kB / 0.9341 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2149, allocations: 40.95 kB / 0.9342 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.215, allocations: 4 kB / 0.9342 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.2152, allocations: 83.31 kB / 0.9343 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.2153, allocations: 0 / 0.9343 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005596/0.2158, allocations: 145.5 kB / 0.9344 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2159, allocations: 55.47 kB / 0.9345 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.216, allocations: 129.8 kB / 0.9346 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.216, allocations: 25.7 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.2161, allocations: 92.05 kB / 0.9347 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.2161, allocations: 15.78 kB / 0.9347 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.2161, allocations: 4 kB / 0.9347 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.2162, allocations: 326.8 kB / 0.935 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2163, allocations: 31.92 kB / 0.9351 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2165, allocations: 54.48 kB / 0.9351 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2166, allocations: 36.3 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2166, allocations: 3.984 kB / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000344/0.217, allocations: 113.5 kB / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.217, allocations: 8 kB / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.217, allocations: 0 / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2171, allocations: 8.047 kB / 0.9353 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.2173, allocations: 12 kB / 0.9353 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2173, allocations: 0 / 0.9353 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2174, allocations: 11.89 kB / 0.9353 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2174, allocations: 8 kB / 0.9353 GB, free: 20.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.862e-05/0.2175, allocations: 121.7 kB / 0.9354 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.2176, allocations: 7.906 kB / 0.9354 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.2176, allocations: 12.38 kB / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2176, allocations: 7.984 kB / 0.9354 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2176, allocations: 0 / 0.9354 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2176, allocations: 0 / 0.9354 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.2182, allocations: 382.4 kB / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2182, allocations: 0 / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.2183, allocations: 15.94 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2183, allocations: 0 / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2183, allocations: 0 / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2183, allocations: 0 / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2184, allocations: 7.922 kB / 0.9358 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.2187, allocations: 219.4 kB / 0.936 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.2188, allocations: 81.11 kB / 0.9361 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.2188, allocations: 0 / 0.9361 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.219, allocations: 11.98 kB / 0.9361 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.219, allocations: 11.94 kB / 0.9361 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.219, allocations: 7.922 kB / 0.9361 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.2191, allocations: 91.27 kB / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2191, allocations: 0 / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003814/0.2195, allocations: 39.91 kB / 0.9363 GB, free: 19.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004075/0.2199, allocations: 174.1 kB / 0.9364 GB, free: 19 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.2203, allocations: 75.89 kB / 0.9365 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2203, allocations: 8.125 kB / 0.9365 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2205, allocations: 35.92 kB / 0.9366 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2208, allocations: 8 kB / 0.9366 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.2213, allocations: 203.9 kB / 0.9368 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2215, allocations: 0.6887 MB / 0.9374 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.432e-05/0.2215, allocations: 7.75 kB / 0.9374 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.2216, allocations: 15.42 kB / 0.9374 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/0.2216, allocations: 0 / 0.9374 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.005061/0.2267, allocations: 1.338 MB / 0.9388 GB, free: 16.56 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)