Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.001/2.001, allocations: 292.6 MB / 307.8 MB, free: 7.125 MB / 234.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.001104/0.001104, allocations: 197.4 kB / 376.5 MB, free: 4.449 MB / 298.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.475/1.475, allocations: 225.7 MB / 0.655 GB, free: 13.16 MB / 490.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.0008398/0.0008396, allocations: 99.16 kB / 0.7711 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004579, allocations: 12.62 kB / 0.897 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7644, allocations: 118.2 MB / 1.012 GB, free: 58.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0009316/0.7654, allocations: 390.1 kB / 1.013 GB, free: 58.35 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.7663, allocations: 0.7807 MB / 1.014 GB, free: 58.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.7663, allocations: 3.312 kB / 1.014 GB, free: 58.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.7664, allocations: 0 / 1.014 GB, free: 58.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.603e-05/0.7664, allocations: 4.5 kB / 1.014 GB, free: 58.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.699e-05/0.7665, allocations: 1.5 kB / 1.014 GB, free: 58.31 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.7666, allocations: 19.52 kB / 1.014 GB, free: 58.31 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.7667, allocations: 7.312 kB / 1.014 GB, free: 58.31 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.7667, allocations: 10.66 kB / 1.014 GB, free: 58.31 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.395e-05/0.7668, allocations: 11.45 kB / 1.014 GB, free: 58.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7668, allocations: 3.5 kB / 1.014 GB, free: 58.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.7668, allocations: 2.156 kB / 1.014 GB, free: 58.3 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.7668, allocations: 5.312 kB / 1.014 GB, free: 58.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.7669, allocations: 38.89 kB / 1.014 GB, free: 58.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.156e-05/0.7669, allocations: 16.62 kB / 1.014 GB, free: 58.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7669, allocations: 0 / 1.014 GB, free: 58.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.544e-06/0.767, allocations: 2.906 kB / 1.014 GB, free: 58.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.767, allocations: 0.7812 kB / 1.014 GB, free: 58.27 MB / 0.7136 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.0003679/0.7673, allocations: 342.2 kB / 1.014 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7674, allocations: 10.28 kB / 1.014 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.7674, allocations: 0.9375 kB / 1.014 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.7675, allocations: 163 kB / 1.014 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.7675, allocations: 1.688 kB / 1.014 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.7675, allocations: 12.78 kB / 1.014 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.7677, allocations: 50.81 kB / 1.014 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.7677, allocations: 1.562 kB / 1.014 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.7678, allocations: 5.062 kB / 1.014 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7678, allocations: 0 / 1.014 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.7679, allocations: 51.16 kB / 1.014 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.7683, allocations: 252.1 kB / 1.015 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.7684, allocations: 45.42 kB / 1.015 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.7685, allocations: 33.11 kB / 1.015 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.7685, allocations: 0 / 1.015 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.7685, allocations: 30.56 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7685, allocations: 9.422 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.7689, allocations: 94.8 kB / 1.015 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.7689, allocations: 51.91 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/0.769, allocations: 103.4 kB / 1.015 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.769, allocations: 28.86 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.769, allocations: 87.7 kB / 1.015 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.769, allocations: 7.734 kB / 1.015 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.769, allocations: 1.094 kB / 1.015 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.7691, allocations: 313.8 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.7692, allocations: 22.81 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.7693, allocations: 24.42 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.7694, allocations: 53.72 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.7694, allocations: 0.5938 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/0.7696, allocations: 79.73 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.7696, allocations: 6 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7696, allocations: 3.375 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7696, allocations: 0 / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.7697, allocations: 13.59 kB / 1.016 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7698, allocations: 2.031 kB / 1.016 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.7698, allocations: 9.188 kB / 1.016 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.7698, allocations: 1.406 kB / 1.016 GB, free: 56.67 MB / 0.7136 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 5.13e-05/0.7699, allocations: 112.5 kB / 1.016 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.7699, allocations: 1.438 kB / 1.016 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.7699, allocations: 12.98 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7699, allocations: 0 / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7699, allocations: 4.562 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.77, allocations: 4.969 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.7701, allocations: 163 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7701, allocations: 0 / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.7701, allocations: 14.56 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7702, allocations: 2.594 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.7702, allocations: 0 / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7702, allocations: 3.391 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7702, allocations: 5 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.7704, allocations: 172.8 kB / 1.016 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.7704, allocations: 82.17 kB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.7704, allocations: 2.031 kB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.7705, allocations: 6.891 kB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.7705, allocations: 8.656 kB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.7705, allocations: 1.219 kB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.087e-05/0.7706, allocations: 82.25 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.7706, allocations: 0 / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001911/0.7708, allocations: 5.156 kB / 1.016 GB, free: 56.04 MB / 0.7136 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.0001227/0.7709, allocations: 111 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.7711, allocations: 49 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7711, allocations: 1.812 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.7712, allocations: 24.48 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.7715, allocations: 5.656 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.7717, allocations: 118.8 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.7718, allocations: 0.6788 MB / 1.017 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.7719, allocations: 3.25 kB / 1.017 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.7719, allocations: 11.38 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of SimCode: time 1.332e-06/0.7719, allocations: 2.969 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of Templates: time 0.002052/0.774, allocations: 358.6 kB / 1.017 GB, free: 55.11 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)