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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.618/2.618, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.00131/0.001309, allocations: 196.4 kB / 329.5 MB, free: 1.168 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.725/2.725, allocations: 225.6 MB / 0.6001 GB, free: 2.168 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.001026/0.001026, allocations: 107.2 kB / 0.7074 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005213, allocations: 17 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.278, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001495/0.2795, allocations: 1.097 MB / 0.9319 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.2798, allocations: 91.83 kB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.2799, allocations: 0 / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.2799, allocations: 0 / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.28, allocations: 3.938 kB / 0.932 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.293e-05/0.2801, allocations: 4 kB / 0.932 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.2801, allocations: 23.92 kB / 0.932 GB, free: 23.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.2802, allocations: 11.98 kB / 0.932 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.2803, allocations: 4 kB / 0.932 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.2804, allocations: 19.86 kB / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2804, allocations: 0 / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.2804, allocations: 0 / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2804, allocations: 0 / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.2804, allocations: 37.64 kB / 0.932 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 4.738e-05/0.2805, allocations: 7.969 kB / 0.9321 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2805, allocations: 4 kB / 0.9321 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2805, allocations: 4 kB / 0.9321 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2805, allocations: 0 / 0.9321 GB, free: 23.83 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.0004383/0.281, allocations: 343.7 kB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.281, allocations: 8.031 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.2811, allocations: 8.844 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.2812, allocations: 168.4 kB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2812, allocations: 4.375 kB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2812, allocations: 8.375 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.2815, allocations: 58.23 kB / 0.9326 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2815, allocations: 192 / 0.9326 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2815, allocations: 3.938 kB / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2815, allocations: 0 / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.2818, allocations: 47.91 kB / 0.9327 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.2821, allocations: 245 kB / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2823, allocations: 50.5 kB / 0.933 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2825, allocations: 24.91 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.2825, allocations: 4 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2825, allocations: 30.56 kB / 0.933 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.2825, allocations: 0 / 0.933 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005018/0.283, allocations: 101.6 kB / 0.9331 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.2831, allocations: 51.41 kB / 0.9332 GB, free: 22.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/0.2832, allocations: 106 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.2832, allocations: 29.7 kB / 0.9333 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2832, allocations: 80.14 kB / 0.9334 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.2832, allocations: 11.91 kB / 0.9334 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.2833, allocations: 0 / 0.9334 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.2833, allocations: 318.8 kB / 0.9337 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.2835, allocations: 15.98 kB / 0.9337 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2836, allocations: 31.92 kB / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.2838, allocations: 23.98 kB / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2838, allocations: 0 / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003079/0.2841, allocations: 85.59 kB / 0.9338 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2841, allocations: 4 kB / 0.9338 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2841, allocations: 0 / 0.9338 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2842, allocations: 0 / 0.9338 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2843, allocations: 15.97 kB / 0.9339 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2843, allocations: 4 kB / 0.9339 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.2844, allocations: 11.94 kB / 0.9339 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2845, allocations: 0 / 0.9339 GB, free: 21.75 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.415e-05/0.2845, allocations: 117.8 kB / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2846, allocations: 0 / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.2846, allocations: 7.125 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2846, allocations: 0 / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2846, allocations: 4 kB / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2846, allocations: 0 / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.2848, allocations: 165.6 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2848, allocations: 0 / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/0.2849, allocations: 8 kB / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2849, allocations: 0 / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.2849, allocations: 0 / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2849, allocations: 0 / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.285, allocations: 4 kB / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.2853, allocations: 179.4 kB / 0.9343 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.2853, allocations: 77.11 kB / 0.9344 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2854, allocations: 4.234 kB / 0.9344 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2855, allocations: 12 kB / 0.9344 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.2855, allocations: 8.016 kB / 0.9344 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.2855, allocations: 0 / 0.9344 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.2856, allocations: 83.28 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2856, allocations: 0 / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002578/0.2859, allocations: 11.84 kB / 0.9345 GB, free: 20.99 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.000132/0.286, allocations: 104.9 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.2863, allocations: 55.89 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2864, allocations: 0 / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2865, allocations: 27.92 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2869, allocations: 12.06 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.2872, allocations: 112.6 kB / 0.9348 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.2873, allocations: 0.677 MB / 0.9355 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.2874, allocations: 0 / 0.9355 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2874, allocations: 7.438 kB / 0.9355 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/0.2874, allocations: 0 / 0.9355 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of Templates: time 0.002779/0.2902, allocations: 353.9 kB / 0.9358 GB, free: 19.59 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)