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.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") 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.443/1.443, allocations: 255.9 MB / 271.2 MB, free: 8.934 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.0009293/0.0009297, allocations: 186 kB / 330.8 MB, free: 0.5156 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 1.485/1.485, allocations: 225.7 MB / 0.6016 GB, free: 1.566 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.000724/0.0007238, allocations: 101.4 kB / 0.709 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.0005166, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 109.2 MB / 0.9328 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001349/0.2159, allocations: 1.205 MB / 0.9339 GB, free: 5.051 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.217, allocations: 0.999 MB / 0.9349 GB, free: 3.973 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.217, allocations: 0 / 0.9349 GB, free: 3.973 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.217, allocations: 0 / 0.9349 GB, free: 3.973 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.2171, allocations: 15.86 kB / 0.9349 GB, free: 3.957 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.2175, allocations: 99.77 kB / 0.935 GB, free: 3.859 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.593e-05/0.2176, allocations: 71.83 kB / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.2177, allocations: 12 kB / 0.9351 GB, free: 3.777 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.2178, allocations: 23.92 kB / 0.9351 GB, free: 3.754 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.2179, allocations: 43.81 kB / 0.9352 GB, free: 3.711 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.2179, allocations: 4 kB / 0.9352 GB, free: 3.707 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.218, allocations: 79.86 kB / 0.9352 GB, free: 3.629 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.2181, allocations: 19.91 kB / 0.9353 GB, free: 3.609 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.2181, allocations: 57.55 kB / 0.9353 GB, free: 3.547 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2183, allocations: 135.9 kB / 0.9354 GB, free: 3.414 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2183, allocations: 4 kB / 0.9355 GB, free: 3.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2183, allocations: 0 / 0.9355 GB, free: 3.41 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.2183, allocations: 4 kB / 0.9355 GB, free: 3.406 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.0004817/0.2188, allocations: 401 kB / 0.9358 GB, free: 2.961 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2189, allocations: 17.05 kB / 0.9359 GB, free: 2.945 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.2189, allocations: 4.938 kB / 0.9359 GB, free: 2.941 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.219, allocations: 184.2 kB / 0.936 GB, free: 2.723 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.219, allocations: 384 / 0.936 GB, free: 2.723 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.219, allocations: 8.375 kB / 0.936 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2192, allocations: 77.91 kB / 0.9361 GB, free: 2.633 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2192, allocations: 0 / 0.9361 GB, free: 2.633 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2193, allocations: 0 / 0.9361 GB, free: 2.633 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2193, allocations: 0 / 0.9361 GB, free: 2.633 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.2194, allocations: 47.97 kB / 0.9362 GB, free: 2.586 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.2199, allocations: 324.6 kB / 0.9365 GB, free: 2.219 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.22, allocations: 54.55 kB / 0.9365 GB, free: 2.156 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.2201, allocations: 32.97 kB / 0.9366 GB, free: 2.121 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2201, allocations: 8 kB / 0.9366 GB, free: 2.113 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.2203, allocations: 75.38 kB / 0.9366 GB, free: 2.027 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2203, allocations: 4 kB / 0.9366 GB, free: 2.023 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0003492/0.2207, allocations: 149.5 kB / 0.9368 GB, free: 1.871 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2207, allocations: 55.41 kB / 0.9368 GB, free: 1.805 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.2208, allocations: 121.8 kB / 0.937 GB, free: 1.676 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2208, allocations: 25.7 kB / 0.937 GB, free: 1.645 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.2208, allocations: 96.14 kB / 0.9371 GB, free: 1.547 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.2208, allocations: 15.81 kB / 0.9371 GB, free: 1.531 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2208, allocations: 4 kB / 0.9371 GB, free: 1.527 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.2209, allocations: 326.8 kB / 0.9374 GB, free: 1.199 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.221, allocations: 23.98 kB / 0.9374 GB, free: 1.176 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.221, allocations: 54.55 kB / 0.9375 GB, free: 1.113 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2212, allocations: 74.5 kB / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2212, allocations: 0 / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002057/0.2214, allocations: 121.5 kB / 0.9377 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2214, allocations: 11.91 kB / 0.9377 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2214, allocations: 0 / 0.9377 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2215, allocations: 3.938 kB / 0.9377 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.2215, allocations: 19.92 kB / 0.9377 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.2216, allocations: 0 / 0.9377 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.2216, allocations: 16.05 kB / 0.9377 GB, free: 0.8555 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2216, allocations: 8 kB / 0.9377 GB, free: 0.8477 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 5.831e-05/0.2217, allocations: 118.4 kB / 0.9378 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.2217, allocations: 7.906 kB / 0.9378 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.2218, allocations: 12.38 kB / 0.9379 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2218, allocations: 0 / 0.9379 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2218, allocations: 3.984 kB / 0.9379 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2218, allocations: 0 / 0.9379 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.2221, allocations: 398.2 kB / 0.9382 GB, free: 260 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2221, allocations: 4 kB / 0.9382 GB, free: 256 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.2222, allocations: 4 kB / 0.9382 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2222, allocations: 0 / 0.9382 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2222, allocations: 0 / 0.9382 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2222, allocations: 0 / 0.9382 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2222, allocations: 3.938 kB / 0.9382 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.2224, allocations: 219.4 kB / 0.9385 GB, free: 12 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.2225, allocations: 85.02 kB / 0.9385 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2225, allocations: 0 / 0.9385 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.2226, allocations: 7.984 kB / 0.9385 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.2227, allocations: 19.92 kB / 0.9386 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2227, allocations: 3.984 kB / 0.9386 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.2227, allocations: 91.27 kB / 0.9387 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2227, allocations: 0 / 0.9387 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002644/0.223, allocations: 36 kB / 0.9387 GB, free: 15.75 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.0003054/0.2233, allocations: 177.5 kB / 0.9389 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.2236, allocations: 83.88 kB / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2236, allocations: 0 / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.971e-05/0.2237, allocations: 40.12 kB / 0.939 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2239, allocations: 8.125 kB / 0.939 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.2243, allocations: 209.1 kB / 0.9392 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2245, allocations: 0.6926 MB / 0.9399 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.708e-05/0.2246, allocations: 4 kB / 0.9399 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.2246, allocations: 15.42 kB / 0.9399 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/0.2246, allocations: 0 / 0.9399 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.003489/0.2281, allocations: 1.353 MB / 0.9412 GB, free: 13.13 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)