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.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") 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.431/1.431, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.001012/0.001012, allocations: 185.4 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.543/1.543, allocations: 225.7 MB / 0.6016 GB, free: 15.88 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.000861/0.0008609, allocations: 101.4 kB / 0.709 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8.781 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1912, allocations: 109.2 MB / 0.9327 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001367/0.1927, allocations: 1.213 MB / 0.9339 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1938, allocations: 0.9951 MB / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1938, allocations: 3.938 kB / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1938, allocations: 0 / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.1939, allocations: 11.86 kB / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.1944, allocations: 103.8 kB / 0.935 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.1945, allocations: 63.78 kB / 0.9351 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.1946, allocations: 15.98 kB / 0.9351 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.1946, allocations: 31.91 kB / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.1947, allocations: 35.84 kB / 0.9352 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1947, allocations: 4 kB / 0.9352 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1949, allocations: 87.84 kB / 0.9352 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.1949, allocations: 19.91 kB / 0.9353 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.195, allocations: 49.56 kB / 0.9353 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1952, allocations: 139.9 kB / 0.9354 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1952, allocations: 0 / 0.9354 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1952, allocations: 0 / 0.9354 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.1952, allocations: 0 / 0.9354 GB, free: 21.23 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.0004987/0.1957, allocations: 405 kB / 0.9358 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1957, allocations: 17.11 kB / 0.9359 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.1958, allocations: 4.938 kB / 0.9359 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.1959, allocations: 176.2 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.1959, allocations: 4.375 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1959, allocations: 4.375 kB / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1961, allocations: 85.88 kB / 0.9361 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1961, allocations: 3.984 kB / 0.9361 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1961, allocations: 11.98 kB / 0.9361 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1961, allocations: 0 / 0.9361 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1963, allocations: 35.98 kB / 0.9362 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.1967, allocations: 332.6 kB / 0.9365 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1968, allocations: 46.56 kB / 0.9365 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.1969, allocations: 36.97 kB / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.197, allocations: 0 / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.1971, allocations: 79.38 kB / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1972, allocations: 0 / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003336/0.1975, allocations: 153.5 kB / 0.9368 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.1975, allocations: 59.39 kB / 0.9368 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.1976, allocations: 113.8 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1976, allocations: 33.7 kB / 0.937 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.1976, allocations: 88.12 kB / 0.9371 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1977, allocations: 19.75 kB / 0.9371 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.1977, allocations: 0 / 0.9371 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.1977, allocations: 330.8 kB / 0.9374 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.1978, allocations: 23.98 kB / 0.9374 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.1979, allocations: 54.5 kB / 0.9375 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.198, allocations: 82.48 kB / 0.9376 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.198, allocations: 0 / 0.9376 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002005/0.1982, allocations: 117.5 kB / 0.9377 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1983, allocations: 11.97 kB / 0.9377 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1983, allocations: 4 kB / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1983, allocations: 3.938 kB / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.1984, allocations: 15.98 kB / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1984, allocations: 0 / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.1985, allocations: 15.94 kB / 0.9377 GB, free: 18.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1985, allocations: 4 kB / 0.9377 GB, free: 18.66 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 5.814e-05/0.1986, allocations: 122.4 kB / 0.9378 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1986, allocations: 11.91 kB / 0.9378 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1986, allocations: 8.375 kB / 0.9379 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1986, allocations: 4 kB / 0.9379 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1986, allocations: 0 / 0.9379 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1986, allocations: 0 / 0.9379 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.199, allocations: 390.3 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.199, allocations: 4 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.199, allocations: 7.984 kB / 0.9382 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.199, allocations: 4 kB / 0.9382 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1991, allocations: 0 / 0.9382 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1991, allocations: 0 / 0.9382 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1991, allocations: 3.938 kB / 0.9382 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1993, allocations: 212 kB / 0.9384 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.1993, allocations: 85 kB / 0.9385 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1993, allocations: 8 kB / 0.9385 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.1994, allocations: 4 kB / 0.9385 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1995, allocations: 11.86 kB / 0.9386 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1995, allocations: 4 kB / 0.9386 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.976e-05/0.1995, allocations: 91.27 kB / 0.9386 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1995, allocations: 0 / 0.9386 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002455/0.1998, allocations: 40 kB / 0.9387 GB, free: 17.57 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.0002716/0.2001, allocations: 187.7 kB / 0.9389 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.2003, allocations: 79.95 kB / 0.9389 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2003, allocations: 0 / 0.9389 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.2004, allocations: 31.98 kB / 0.939 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.2006, allocations: 15.92 kB / 0.939 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.2009, allocations: 207.1 kB / 0.9392 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.267e-05/0.2011, allocations: 0.6964 MB / 0.9399 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.994e-05/0.2011, allocations: 4 kB / 0.9399 GB, free: 16.31 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.2011, allocations: 11.44 kB / 0.9399 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/0.2011, allocations: 0 / 0.9399 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.00315/0.2043, allocations: 1.361 MB / 0.9412 GB, free: 14.94 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)