Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.206/2.206, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001348/0.001348, allocations: 190.6 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.448/2.448, allocations: 225.6 MB / 0.6001 GB, free: 2.242 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.0009986/0.000998, allocations: 90.95 kB / 0.7074 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004958, allocations: 11.41 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.203, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001761/0.2048, allocations: 1.279 MB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004404/0.2053, allocations: 187.5 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.2053, allocations: 0 / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.2054, allocations: 3.938 kB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2055, allocations: 19.84 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.2057, allocations: 23.97 kB / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2058, allocations: 91.72 kB / 0.9323 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2059, allocations: 45.2 kB / 0.9324 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2061, allocations: 31.86 kB / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.2062, allocations: 43.77 kB / 0.9325 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2062, allocations: 4 kB / 0.9325 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.2062, allocations: 4 kB / 0.9325 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.2063, allocations: 11.92 kB / 0.9325 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.2063, allocations: 41.64 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2064, allocations: 92 kB / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2064, allocations: 0 / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2065, allocations: 0 / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2065, allocations: 8 kB / 0.9326 GB, free: 23.24 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001158/0.2076, allocations: 455.1 kB / 0.933 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2077, allocations: 15.97 kB / 0.9331 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.2077, allocations: 20.75 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2079, allocations: 188.1 kB / 0.9333 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2079, allocations: 4.375 kB / 0.9333 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.2079, allocations: 8.375 kB / 0.9333 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.2082, allocations: 102.1 kB / 0.9334 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2083, allocations: 3.938 kB / 0.9334 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.2083, allocations: 4 kB / 0.9334 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2083, allocations: 4 kB / 0.9334 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.2086, allocations: 67.97 kB / 0.9334 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.2096, allocations: 404.7 kB / 0.9338 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.2098, allocations: 74.53 kB / 0.9339 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.2099, allocations: 36.97 kB / 0.9339 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.21, allocations: 3.938 kB / 0.9339 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.21, allocations: 30.56 kB / 0.934 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.21, allocations: 4 kB / 0.934 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0005097/0.2105, allocations: 125.5 kB / 0.9341 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.2106, allocations: 59.33 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2107, allocations: 148.5 kB / 0.9343 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.2107, allocations: 33.7 kB / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.2108, allocations: 112 kB / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2108, allocations: 11.89 kB / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.2109, allocations: 0 / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.2109, allocations: 322.8 kB / 0.9347 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2111, allocations: 35.97 kB / 0.9348 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2112, allocations: 43.91 kB / 0.9348 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.2114, allocations: 23.98 kB / 0.9348 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2114, allocations: 0 / 0.9348 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000334/0.2117, allocations: 101.6 kB / 0.9349 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2118, allocations: 8 kB / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2118, allocations: 0 / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2118, allocations: 0 / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.212, allocations: 11.98 kB / 0.935 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.212, allocations: 3.938 kB / 0.935 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.2123, allocations: 39.81 kB / 0.935 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2123, allocations: 4 kB / 0.935 GB, free: 20.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.944e-05/0.2124, allocations: 122.9 kB / 0.9351 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.2125, allocations: 11.89 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.2125, allocations: 12.31 kB / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2125, allocations: 0 / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2125, allocations: 7.938 kB / 0.9352 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2126, allocations: 0 / 0.9352 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.2128, allocations: 209.5 kB / 0.9354 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2128, allocations: 0 / 0.9354 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.2129, allocations: 11.98 kB / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2129, allocations: 0 / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2129, allocations: 0 / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2129, allocations: 256 / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2129, allocations: 3.938 kB / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.2133, allocations: 203.4 kB / 0.9356 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.2133, allocations: 81.02 kB / 0.9356 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.2134, allocations: 4 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.2137, allocations: 35.97 kB / 0.9357 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.2138, allocations: 15.91 kB / 0.9357 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2138, allocations: 4 kB / 0.9357 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.936e-05/0.2139, allocations: 112.1 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2139, allocations: 0 / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002847/0.2142, allocations: 23.91 kB / 0.9358 GB, free: 19.64 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001045/0.2143, allocations: 107.2 kB / 0.9359 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.2147, allocations: 71.91 kB / 0.936 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2147, allocations: 0 / 0.936 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.2148, allocations: 43.92 kB / 0.936 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.2152, allocations: 8 kB / 0.936 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.2157, allocations: 237.8 kB / 0.9363 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2159, allocations: 0.6965 MB / 0.937 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.486e-05/0.216, allocations: 7.984 kB / 0.937 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.2161, allocations: 15.44 kB / 0.937 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of SimCode: time 7.52e-07/0.2161, allocations: 0 / 0.937 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.004283/0.2204, allocations: 1.067 MB / 0.938 GB, free: 17.34 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)