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.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.387/2.387, 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.001321/0.001321, allocations: 182.1 kB / 329.5 MB, free: 1.164 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.585/2.585, allocations: 225.6 MB / 0.6001 GB, free: 2.27 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.001005/0.001005, allocations: 103.1 kB / 0.7074 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007416/0.0007418, allocations: 10.91 kB / 0.8242 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2147, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001745/0.2165, allocations: 1.205 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2179, allocations: 0.6704 MB / 0.9326 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.218, allocations: 8 kB / 0.9326 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.218, allocations: 3.938 kB / 0.9326 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.2181, allocations: 3.938 kB / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.2187, allocations: 95.77 kB / 0.9327 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2189, allocations: 75.75 kB / 0.9328 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.219, allocations: 11.98 kB / 0.9328 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.2191, allocations: 23.92 kB / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.2192, allocations: 39.88 kB / 0.9329 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2192, allocations: 4 kB / 0.9329 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.2195, allocations: 87.84 kB / 0.9329 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.2195, allocations: 15.92 kB / 0.933 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.2195, allocations: 33.7 kB / 0.933 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.2197, allocations: 100 kB / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2198, allocations: 0 / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2198, allocations: 0 / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2198, allocations: 0 / 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.0006576/0.2205, allocations: 409.1 kB / 0.9335 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2205, allocations: 12.03 kB / 0.9335 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.2206, allocations: 8.844 kB / 0.9335 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.2207, allocations: 180.1 kB / 0.9337 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.2207, allocations: 4.375 kB / 0.9337 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.2208, allocations: 4.375 kB / 0.9337 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.221, allocations: 77.95 kB / 0.9337 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.221, allocations: 4 kB / 0.9338 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.221, allocations: 0 / 0.9338 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2211, allocations: 4 kB / 0.9338 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.2213, allocations: 35.98 kB / 0.9338 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.222, allocations: 328.7 kB / 0.9341 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.2222, allocations: 50.56 kB / 0.9342 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.2224, allocations: 32.97 kB / 0.9342 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.2224, allocations: 4 kB / 0.9342 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.2227, allocations: 79.38 kB / 0.9343 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.2227, allocations: 0 / 0.9343 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005827/0.2233, allocations: 153.5 kB / 0.9344 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.2234, allocations: 59.39 kB / 0.9345 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.2235, allocations: 117.8 kB / 0.9346 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2235, allocations: 29.7 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.2236, allocations: 100.1 kB / 0.9347 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2236, allocations: 15.84 kB / 0.9347 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/0.2236, allocations: 0 / 0.9347 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.2237, allocations: 322.8 kB / 0.935 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2238, allocations: 39.92 kB / 0.9351 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.224, allocations: 46.56 kB / 0.9351 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2242, allocations: 31.98 kB / 0.9351 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2242, allocations: 7.938 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003615/0.2245, allocations: 117.5 kB / 0.9353 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2246, allocations: 4 kB / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2246, allocations: 0 / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2246, allocations: 4 kB / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2248, allocations: 11.98 kB / 0.9353 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2248, allocations: 4.062 kB / 0.9353 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2249, allocations: 11.91 kB / 0.9353 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.225, allocations: 4 kB / 0.9353 GB, free: 20.27 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 9.95e-05/0.2251, allocations: 125.8 kB / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2251, allocations: 7.906 kB / 0.9354 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.2251, allocations: 8.312 kB / 0.9354 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2252, allocations: 4 kB / 0.9354 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2252, allocations: 4 kB / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2252, allocations: 0 / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.2258, allocations: 390.4 kB / 0.9358 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2258, allocations: 0 / 0.9358 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.2259, allocations: 7.984 kB / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.2259, allocations: 0 / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2259, allocations: 8 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2259, allocations: 0 / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2259, allocations: 7.875 kB / 0.9358 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.2263, allocations: 215.4 kB / 0.936 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.2264, allocations: 81.09 kB / 0.9361 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.2264, allocations: 4 kB / 0.9361 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2266, allocations: 4 kB / 0.9361 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.2267, allocations: 11.92 kB / 0.9361 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2267, allocations: 8 kB / 0.9361 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.2267, allocations: 95.2 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2267, allocations: 0 / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000393/0.2271, allocations: 43.89 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.0004138/0.2276, allocations: 173.1 kB / 0.9364 GB, free: 19 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.228, allocations: 80.44 kB / 0.9365 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.228, allocations: 0 / 0.9365 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.2281, allocations: 48.03 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.0003187/0.2285, allocations: 10.81 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.0004727/0.229, allocations: 197.5 kB / 0.9368 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2291, allocations: 0.6926 MB / 0.9374 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.876e-05/0.2292, allocations: 7.75 kB / 0.9374 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.2292, allocations: 7.438 kB / 0.9375 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of SimCode: time 1.372e-06/0.2292, allocations: 0 / 0.9375 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of Templates: time 0.005337/0.2346, allocations: 1.34 MB / 0.9388 GB, free: 16.57 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)