Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") 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.542/1.542, allocations: 255.9 MB / 271.2 MB, free: 8.918 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.001357/0.001357, allocations: 185.8 kB / 330.8 MB, free: 492 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.812/1.812, allocations: 225.7 MB / 0.6016 GB, free: 1.617 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.0007933/0.0007935, allocations: 111.5 kB / 0.709 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 109.2 MB / 0.9328 GB, free: 6.23 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001345/0.2223, allocations: 1.093 MB / 0.9338 GB, free: 5.129 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.2226, allocations: 119.8 kB / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.2226, allocations: 0 / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.2227, allocations: 3.984 kB / 0.934 GB, free: 5.008 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.2227, allocations: 3.938 kB / 0.934 GB, free: 5.004 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.2229, allocations: 4 kB / 0.934 GB, free: 5 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.223, allocations: 27.86 kB / 0.934 GB, free: 4.973 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2231, allocations: 4 kB / 0.934 GB, free: 4.969 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.2231, allocations: 7.984 kB / 0.934 GB, free: 4.961 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.2232, allocations: 7.938 kB / 0.934 GB, free: 4.953 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2232, allocations: 4 kB / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.2232, allocations: 0 / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2232, allocations: 11.98 kB / 0.934 GB, free: 4.938 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.2233, allocations: 33.62 kB / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 6.932e-05/0.2234, allocations: 15.97 kB / 0.9341 GB, free: 4.883 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2234, allocations: 0 / 0.9341 GB, free: 4.883 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2234, allocations: 0 / 0.9341 GB, free: 4.883 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2234, allocations: 0 / 0.9341 GB, free: 4.883 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000379/0.2238, allocations: 335.9 kB / 0.9344 GB, free: 4.504 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2238, allocations: 15.98 kB / 0.9344 GB, free: 4.488 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.2239, allocations: 8.844 kB / 0.9344 GB, free: 4.48 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.224, allocations: 168.3 kB / 0.9346 GB, free: 4.277 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.224, allocations: 4.375 kB / 0.9346 GB, free: 4.273 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.224, allocations: 4.359 kB / 0.9346 GB, free: 4.27 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.2242, allocations: 54.19 kB / 0.9346 GB, free: 4.211 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2242, allocations: 4.188 kB / 0.9346 GB, free: 4.207 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2243, allocations: 3.938 kB / 0.9346 GB, free: 4.203 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2243, allocations: 0 / 0.9346 GB, free: 4.203 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2244, allocations: 43.95 kB / 0.9347 GB, free: 4.16 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.2247, allocations: 244.9 kB / 0.9349 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2249, allocations: 50.53 kB / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.225, allocations: 20.91 kB / 0.935 GB, free: 3.789 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.225, allocations: 7.938 kB / 0.935 GB, free: 3.781 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.225, allocations: 38.56 kB / 0.935 GB, free: 3.734 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.225, allocations: 0 / 0.935 GB, free: 3.734 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.2254, allocations: 97.67 kB / 0.9351 GB, free: 3.633 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.2254, allocations: 51.41 kB / 0.9352 GB, free: 3.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.2255, allocations: 105.8 kB / 0.9353 GB, free: 3.457 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.2255, allocations: 29.7 kB / 0.9353 GB, free: 3.422 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.2255, allocations: 84.14 kB / 0.9354 GB, free: 3.336 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.2256, allocations: 3.906 kB / 0.9354 GB, free: 3.332 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2256, allocations: 0 / 0.9354 GB, free: 3.332 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.2256, allocations: 314.9 kB / 0.9357 GB, free: 3.016 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.2257, allocations: 31.91 kB / 0.9357 GB, free: 2.984 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.2258, allocations: 15.98 kB / 0.9357 GB, free: 2.969 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2259, allocations: 52.89 kB / 0.9358 GB, free: 2.914 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.226, allocations: 0 / 0.9358 GB, free: 2.914 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.2261, allocations: 85.5 kB / 0.9359 GB, free: 2.824 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2262, allocations: 4 kB / 0.9359 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2262, allocations: 0 / 0.9359 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2262, allocations: 0 / 0.9359 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.2263, allocations: 15.98 kB / 0.9359 GB, free: 2.805 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2263, allocations: 0 / 0.9359 GB, free: 2.805 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.2264, allocations: 8 kB / 0.9359 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.2264, allocations: 4.031 kB / 0.9359 GB, free: 2.793 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/0.2264, allocations: 122.9 kB / 0.936 GB, free: 2.664 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2265, allocations: 0 / 0.936 GB, free: 2.664 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.2267, allocations: 88.72 kB / 0.9361 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2267, allocations: 0 / 0.9361 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2267, allocations: 0 / 0.9361 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2267, allocations: 0 / 0.9361 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.2269, allocations: 161.6 kB / 0.9363 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2269, allocations: 3.984 kB / 0.9363 GB, free: 2.355 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.2269, allocations: 8 kB / 0.9363 GB, free: 2.348 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2269, allocations: 4 kB / 0.9363 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2269, allocations: 0 / 0.9363 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.227, allocations: 32 / 0.9363 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.227, allocations: 4 kB / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2272, allocations: 175.4 kB / 0.9364 GB, free: 2.152 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.2272, allocations: 85.12 kB / 0.9365 GB, free: 2.051 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.2272, allocations: 4 kB / 0.9365 GB, free: 2.047 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.2273, allocations: 4 kB / 0.9365 GB, free: 2.043 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.2273, allocations: 3.984 kB / 0.9365 GB, free: 2.039 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2274, allocations: 4 kB / 0.9365 GB, free: 2.035 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.346e-05/0.2274, allocations: 75.28 kB / 0.9366 GB, free: 1.961 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2274, allocations: 4 kB / 0.9366 GB, free: 1.957 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001921/0.2276, allocations: 0 / 0.9366 GB, free: 1.957 MB / 0.573 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 (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.0001369/0.2277, allocations: 119.2 kB / 0.9367 GB, free: 1.832 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.228, allocations: 47.89 kB / 0.9368 GB, free: 1.785 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.228, allocations: 0 / 0.9368 GB, free: 1.785 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.2281, allocations: 24.05 kB / 0.9368 GB, free: 1.762 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2283, allocations: 19.78 kB / 0.9368 GB, free: 1.742 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.2286, allocations: 113.8 kB / 0.9369 GB, free: 1.602 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2288, allocations: 0.6809 MB / 0.9376 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.2288, allocations: 4.062 kB / 0.9376 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.2288, allocations: 7.438 kB / 0.9376 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of SimCode: time 3.11e-07/0.2288, allocations: 0 / 0.9376 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of Templates: time 0.00233/0.2312, allocations: 357.2 kB / 0.9379 GB, free: 0.5391 MB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)