Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.652/2.652, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001413/0.001412, allocations: 198.1 kB / 329.5 MB, free: 1.176 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.485/2.485, allocations: 225.6 MB / 0.6001 GB, free: 0.5156 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.001006/0.001006, allocations: 95.52 kB / 0.7074 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007054/0.0007059, allocations: 16.78 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2185, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001537/0.2201, allocations: 1.081 MB / 0.9318 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.2204, allocations: 111.8 kB / 0.9319 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.2205, allocations: 0 / 0.9319 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.2205, allocations: 11.92 kB / 0.932 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.18e-05/0.2206, allocations: 7.984 kB / 0.932 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.2207, allocations: 4 kB / 0.932 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.701e-05/0.2208, allocations: 19.92 kB / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.2209, allocations: 11.94 kB / 0.932 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.221, allocations: 7.922 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.221, allocations: 4 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2211, allocations: 0 / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.2211, allocations: 4 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.2211, allocations: 8 kB / 0.932 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.2211, allocations: 33.58 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.372e-05/0.2212, allocations: 15.95 kB / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2212, allocations: 0 / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2212, allocations: 0 / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2212, allocations: 0 / 0.9321 GB, free: 23.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004206/0.2217, allocations: 342.9 kB / 0.9324 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2217, allocations: 12.03 kB / 0.9324 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.2217, allocations: 4.938 kB / 0.9324 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/0.2218, allocations: 172.2 kB / 0.9326 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2219, allocations: 4.375 kB / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2219, allocations: 384 / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.2221, allocations: 54.23 kB / 0.9326 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2221, allocations: 192 / 0.9326 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2222, allocations: 3.938 kB / 0.9326 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2222, allocations: 4 kB / 0.9326 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.2224, allocations: 47.89 kB / 0.9327 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.2228, allocations: 241 kB / 0.9329 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.2229, allocations: 50.5 kB / 0.933 GB, free: 22.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2231, allocations: 28.89 kB / 0.933 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2231, allocations: 0 / 0.933 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.2232, allocations: 38.56 kB / 0.933 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2232, allocations: 0 / 0.933 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005148/0.2237, allocations: 101.7 kB / 0.9331 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.2237, allocations: 51.41 kB / 0.9332 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.2238, allocations: 97.86 kB / 0.9333 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.2238, allocations: 25.7 kB / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.2239, allocations: 84.14 kB / 0.9334 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2239, allocations: 7.891 kB / 0.9334 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2239, allocations: 0 / 0.9334 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.224, allocations: 314.8 kB / 0.9337 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.2241, allocations: 27.95 kB / 0.9337 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2243, allocations: 19.98 kB / 0.9337 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2244, allocations: 23.97 kB / 0.9338 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2244, allocations: 4.062 kB / 0.9338 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003056/0.2247, allocations: 77.55 kB / 0.9338 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2248, allocations: 7.906 kB / 0.9338 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2248, allocations: 0 / 0.9338 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2248, allocations: 4.188 kB / 0.9338 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.225, allocations: 16.02 kB / 0.9339 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.225, allocations: 3.984 kB / 0.9339 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.2251, allocations: 7.984 kB / 0.9339 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2251, allocations: 11.98 kB / 0.9339 GB, free: 21.51 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.512e-05/0.2252, allocations: 113.7 kB / 0.934 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.2252, allocations: 3.906 kB / 0.934 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.2256, allocations: 88.72 kB / 0.9341 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2256, allocations: 0 / 0.9341 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2256, allocations: 0 / 0.9341 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2256, allocations: 0 / 0.9341 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.2257, allocations: 169.6 kB / 0.9342 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2258, allocations: 4.031 kB / 0.9342 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.2259, allocations: 11.98 kB / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2259, allocations: 0 / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2259, allocations: 0 / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2259, allocations: 0 / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2259, allocations: 0 / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.2262, allocations: 175.5 kB / 0.9344 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2263, allocations: 77.11 kB / 0.9345 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2263, allocations: 4 kB / 0.9345 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2264, allocations: 15.92 kB / 0.9345 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2265, allocations: 0 / 0.9345 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2265, allocations: 4.031 kB / 0.9345 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.2265, allocations: 79.28 kB / 0.9346 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2266, allocations: 0 / 0.9346 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002615/0.2268, allocations: 4 kB / 0.9346 GB, free: 20.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001221/0.227, allocations: 107.2 kB / 0.9347 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.2273, allocations: 47.97 kB / 0.9347 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2273, allocations: 3.938 kB / 0.9347 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.2275, allocations: 19.98 kB / 0.9348 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.2278, allocations: 19.8 kB / 0.9348 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.2281, allocations: 120.7 kB / 0.9349 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.2283, allocations: 0.677 MB / 0.9356 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.2283, allocations: 0 / 0.9356 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.2284, allocations: 7.438 kB / 0.9356 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/0.2284, allocations: 0 / 0.9356 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of Templates: time 0.00264/0.231, allocations: 350 kB / 0.9359 GB, free: 19.27 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)