Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.624/1.624, allocations: 291.7 MB / 306.8 MB, free: 7.688 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.001108/0.001108, allocations: 190.8 kB / 375.4 MB, free: 5.121 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.422/1.422, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0007575/0.0007576, allocations: 94.7 kB / 0.7699 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004461, allocations: 15.98 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.7211, allocations: 118.1 MB / 1.011 GB, free: 58.19 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0008748/0.722, allocations: 386.3 kB / 1.011 GB, free: 58.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.7229, allocations: 0.7773 MB / 1.012 GB, free: 58.15 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.723, allocations: 3.125 kB / 1.012 GB, free: 58.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.723, allocations: 0.625 kB / 1.012 GB, free: 58.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.723, allocations: 3.938 kB / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.799e-05/0.7231, allocations: 10.62 kB / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.7232, allocations: 23.53 kB / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7233, allocations: 6.938 kB / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.7234, allocations: 9.016 kB / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.7234, allocations: 14.77 kB / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.7234, allocations: 0 / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.7234, allocations: 0 / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.7234, allocations: 5.625 kB / 1.012 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.7235, allocations: 30.42 kB / 1.012 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 4.898e-05/0.7235, allocations: 12.16 kB / 1.012 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7235, allocations: 3.938 kB / 1.012 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7235, allocations: 0.5 kB / 1.012 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.7235, allocations: 1.719 kB / 1.012 GB, free: 58.1 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.0003806/0.7239, allocations: 345.8 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.724, allocations: 10.12 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.724, allocations: 0.9375 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.7241, allocations: 161 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.7241, allocations: 6.141 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.7241, allocations: 384 / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.7243, allocations: 55.81 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7243, allocations: 192 / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.7243, allocations: 4.641 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7244, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.7245, allocations: 45.84 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.7248, allocations: 259.8 kB / 1.013 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.7249, allocations: 46.5 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.725, allocations: 27.41 kB / 1.013 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.725, allocations: 2.922 kB / 1.013 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.7251, allocations: 33.34 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7251, allocations: 0.9375 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003208/0.7254, allocations: 101.4 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.7254, allocations: 52.78 kB / 1.013 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.7255, allocations: 106.8 kB / 1.013 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.7255, allocations: 25.7 kB / 1.013 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.7255, allocations: 86.19 kB / 1.013 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.7256, allocations: 4.562 kB / 1.013 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.7256, allocations: 2.938 kB / 1.013 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.7256, allocations: 316.2 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.7257, allocations: 22.27 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.7258, allocations: 27.84 kB / 1.014 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.726, allocations: 48.22 kB / 1.014 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.726, allocations: 5.781 kB / 1.014 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.7262, allocations: 80.95 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7262, allocations: 7.125 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7262, allocations: 0 / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7262, allocations: 0 / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.7263, allocations: 13.12 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7263, allocations: 1.969 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.7264, allocations: 10.97 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.7264, allocations: 3.812 kB / 1.014 GB, free: 56.5 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.245e-05/0.7264, allocations: 113.3 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.7265, allocations: 2.562 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.7265, allocations: 7.078 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7265, allocations: 6.016 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7265, allocations: 0.8438 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7265, allocations: 0 / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.7266, allocations: 171.4 kB / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7266, allocations: 3.375 kB / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.7267, allocations: 11.12 kB / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.7267, allocations: 0 / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.7267, allocations: 0.875 kB / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7267, allocations: 7.406 kB / 1.014 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7267, allocations: 1.031 kB / 1.014 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.7269, allocations: 176.2 kB / 1.014 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.727, allocations: 77.11 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.727, allocations: 0.5156 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.7271, allocations: 9.5 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.7271, allocations: 4.75 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.7271, allocations: 0 / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.7272, allocations: 89.7 kB / 1.015 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7272, allocations: 0 / 1.015 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001809/0.7274, allocations: 3.875 kB / 1.015 GB, free: 55.87 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.000131/0.7275, allocations: 102.1 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.7277, allocations: 54.59 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7277, allocations: 0 / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.7278, allocations: 31.41 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.7281, allocations: 8.922 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.7283, allocations: 114 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.7284, allocations: 0.6783 MB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.7285, allocations: 2.594 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.7285, allocations: 8 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7285, allocations: 0 / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.001933/0.7304, allocations: 358.4 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)