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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") 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.477/1.477, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.001008/0.001008, allocations: 179.3 kB / 330.8 MB, free: 472 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.71/1.71, allocations: 225.7 MB / 0.6016 GB, free: 1.668 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.001164/0.001164, allocations: 95.62 kB / 0.709 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2357, allocations: 109.2 MB / 0.9328 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001307/0.2371, allocations: 1.101 MB / 0.9338 GB, free: 5.156 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.2373, allocations: 91.77 kB / 0.9339 GB, free: 5.066 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.2374, allocations: 4 kB / 0.9339 GB, free: 5.062 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.2374, allocations: 4 kB / 0.9339 GB, free: 5.059 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.834e-05/0.2375, allocations: 0 / 0.9339 GB, free: 5.059 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 4.797e-05/0.2375, allocations: 3.938 kB / 0.9339 GB, free: 5.055 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.2376, allocations: 23.92 kB / 0.934 GB, free: 5.031 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.2377, allocations: 4 kB / 0.934 GB, free: 5.027 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.2377, allocations: 11.98 kB / 0.934 GB, free: 5.016 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.2378, allocations: 11.92 kB / 0.934 GB, free: 5.004 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2378, allocations: 0 / 0.934 GB, free: 5.004 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.2378, allocations: 0 / 0.934 GB, free: 5.004 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2378, allocations: 11.92 kB / 0.934 GB, free: 4.992 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.2379, allocations: 37.64 kB / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 5.987e-05/0.2379, allocations: 23.89 kB / 0.9341 GB, free: 4.926 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2379, allocations: 0 / 0.9341 GB, free: 4.926 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.238, allocations: 3.938 kB / 0.9341 GB, free: 4.922 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.238, allocations: 0 / 0.9341 GB, free: 4.922 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.0003584/0.2383, allocations: 343.8 kB / 0.9344 GB, free: 4.535 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2384, allocations: 15.98 kB / 0.9344 GB, free: 4.52 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.2384, allocations: 8.844 kB / 0.9344 GB, free: 4.512 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.2385, allocations: 164.4 kB / 0.9346 GB, free: 4.312 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.2385, allocations: 384 / 0.9346 GB, free: 4.312 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2385, allocations: 384 / 0.9346 GB, free: 4.312 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.2387, allocations: 54.23 kB / 0.9346 GB, free: 4.254 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2387, allocations: 192 / 0.9346 GB, free: 4.254 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2387, allocations: 3.938 kB / 0.9346 GB, free: 4.25 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2387, allocations: 4 kB / 0.9346 GB, free: 4.246 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.2389, allocations: 51.89 kB / 0.9347 GB, free: 4.195 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.2391, allocations: 241 kB / 0.9349 GB, free: 3.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.2393, allocations: 46.5 kB / 0.935 GB, free: 3.855 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.277e-05/0.2394, allocations: 32.89 kB / 0.935 GB, free: 3.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.2394, allocations: 0 / 0.935 GB, free: 3.82 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.2394, allocations: 34.56 kB / 0.935 GB, free: 3.777 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2394, allocations: 0 / 0.935 GB, free: 3.777 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0003122/0.2397, allocations: 109.6 kB / 0.9351 GB, free: 3.664 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2398, allocations: 51.41 kB / 0.9352 GB, free: 3.602 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.988e-05/0.2398, allocations: 97.86 kB / 0.9353 GB, free: 3.496 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.2398, allocations: 29.7 kB / 0.9353 GB, free: 3.461 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.2399, allocations: 80.14 kB / 0.9354 GB, free: 3.379 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.2399, allocations: 11.89 kB / 0.9354 GB, free: 3.367 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.2399, allocations: 0 / 0.9354 GB, free: 3.367 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.2399, allocations: 310.8 kB / 0.9357 GB, free: 3.055 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.24, allocations: 24.02 kB / 0.9357 GB, free: 3.031 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.2401, allocations: 27.92 kB / 0.9357 GB, free: 3.004 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.2402, allocations: 56.81 kB / 0.9358 GB, free: 2.945 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2402, allocations: 0 / 0.9358 GB, free: 2.945 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001644/0.2404, allocations: 73.61 kB / 0.9359 GB, free: 2.867 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2404, allocations: 11.94 kB / 0.9359 GB, free: 2.855 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2404, allocations: 7.969 kB / 0.9359 GB, free: 2.848 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2405, allocations: 0 / 0.9359 GB, free: 2.848 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.2405, allocations: 8 kB / 0.9359 GB, free: 2.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2406, allocations: 4 kB / 0.9359 GB, free: 2.836 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.2406, allocations: 16.22 kB / 0.9359 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.2406, allocations: 4 kB / 0.9359 GB, free: 2.816 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 4.96e-05/0.2407, allocations: 119 kB / 0.936 GB, free: 2.691 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.2407, allocations: 0 / 0.936 GB, free: 2.691 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.2407, allocations: 7.125 kB / 0.936 GB, free: 2.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2407, allocations: 3.938 kB / 0.936 GB, free: 2.676 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2407, allocations: 4 kB / 0.936 GB, free: 2.672 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2407, allocations: 3.984 kB / 0.936 GB, free: 2.668 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.2409, allocations: 161.6 kB / 0.9362 GB, free: 2.461 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2409, allocations: 0 / 0.9362 GB, free: 2.461 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.2409, allocations: 15.92 kB / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2409, allocations: 4 kB / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2409, allocations: 0 / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.241, allocations: 0 / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.241, allocations: 4 kB / 0.9362 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.2412, allocations: 179.4 kB / 0.9364 GB, free: 2.246 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.2412, allocations: 77.11 kB / 0.9365 GB, free: 2.152 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.2412, allocations: 0 / 0.9365 GB, free: 2.152 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.2413, allocations: 11.98 kB / 0.9365 GB, free: 2.141 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.2413, allocations: 0 / 0.9365 GB, free: 2.141 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.2413, allocations: 0 / 0.9365 GB, free: 2.141 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.229e-05/0.2414, allocations: 79.28 kB / 0.9365 GB, free: 2.062 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2414, allocations: 4.031 kB / 0.9365 GB, free: 2.059 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001865/0.2416, allocations: 11.94 kB / 0.9366 GB, free: 2.047 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.0001133/0.2417, allocations: 107.2 kB / 0.9367 GB, free: 1.934 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.2419, allocations: 51.91 kB / 0.9367 GB, free: 1.883 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2419, allocations: 0 / 0.9367 GB, free: 1.883 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.242, allocations: 23.92 kB / 0.9367 GB, free: 1.859 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.2422, allocations: 19.86 kB / 0.9368 GB, free: 1.84 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.2425, allocations: 112.8 kB / 0.9369 GB, free: 1.699 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2426, allocations: 0.677 MB / 0.9375 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.2426, allocations: 0 / 0.9375 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.2427, allocations: 7.438 kB / 0.9375 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of SimCode: time 2.1e-07/0.2427, allocations: 4 kB / 0.9375 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of Templates: time 0.001946/0.2446, allocations: 357.5 kB / 0.9379 GB, free: 0.6406 MB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)