Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.889/1.889, allocations: 297.4 MB / 312.6 MB, free: 2.945 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.001155/0.001155, allocations: 182 kB / 382.3 MB, free: 14.84 MB / 314.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.545/1.545, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0009026/0.0009027, allocations: 93.53 kB / 0.7789 GB, free: 46.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004932, allocations: 12 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8282, allocations: 119.2 MB / 1.022 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0008654/0.8291, allocations: 397.4 kB / 1.023 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.83, allocations: 0.7778 MB / 1.023 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.8301, allocations: 2.875 kB / 1.023 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.8301, allocations: 0 / 1.023 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.8302, allocations: 3.938 kB / 1.023 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.377e-05/0.8303, allocations: 8.656 kB / 1.023 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.8303, allocations: 33.69 kB / 1.023 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.8305, allocations: 4.781 kB / 1.023 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.8305, allocations: 7.594 kB / 1.023 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.8306, allocations: 11.83 kB / 1.023 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.8306, allocations: 2.656 kB / 1.023 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.8306, allocations: 1.156 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.8307, allocations: 1.312 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.8307, allocations: 39.44 kB / 1.024 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.569e-05/0.8308, allocations: 21.52 kB / 1.024 GB, free: 57.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8308, allocations: 0 / 1.024 GB, free: 57.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8308, allocations: 1.562 kB / 1.024 GB, free: 57.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.8308, allocations: 0 / 1.024 GB, free: 57.2 MB / 0.698 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.0003879/0.8312, allocations: 341.8 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8313, allocations: 11.62 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.8313, allocations: 3.25 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.244e-05/0.8314, allocations: 164 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.8314, allocations: 1.375 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.8314, allocations: 2.531 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.8316, allocations: 58.28 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8316, allocations: 192 / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.8316, allocations: 4.906 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8316, allocations: 0.5625 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.8318, allocations: 49.59 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.8321, allocations: 253 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.8322, allocations: 48.31 kB / 1.024 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.8323, allocations: 32.61 kB / 1.024 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.8323, allocations: 2.281 kB / 1.024 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.8324, allocations: 36.06 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8324, allocations: 1.062 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.8327, allocations: 92.86 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.8327, allocations: 52.78 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.8328, allocations: 101.6 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.8328, allocations: 25.7 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.8329, allocations: 97.19 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.8329, allocations: 5.938 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.8329, allocations: 0 / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.833, allocations: 317 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.833, allocations: 28.75 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.8331, allocations: 24.64 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.8333, allocations: 48.94 kB / 1.025 GB, free: 55.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8333, allocations: 4.188 kB / 1.025 GB, free: 55.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.8335, allocations: 77.55 kB / 1.025 GB, free: 55.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8335, allocations: 8.531 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8335, allocations: 1.438 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.8335, allocations: 0 / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.8336, allocations: 16.44 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.8336, allocations: 0 / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.8337, allocations: 13.84 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.8337, allocations: 0 / 1.025 GB, free: 55.52 MB / 0.698 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.712e-05/0.8337, allocations: 118.7 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.8338, allocations: 5.625 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.8338, allocations: 7.828 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8338, allocations: 4 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8338, allocations: 2.312 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8338, allocations: 0 / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.8339, allocations: 161 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8339, allocations: 0 / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.834, allocations: 10.09 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.834, allocations: 2.688 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.834, allocations: 0 / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.834, allocations: 0 / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.834, allocations: 1.078 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.8342, allocations: 177.6 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.8343, allocations: 77.81 kB / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.8343, allocations: 9.156 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.8344, allocations: 9.734 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.8344, allocations: 2.547 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.8344, allocations: 1.531 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.8345, allocations: 84.44 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8345, allocations: 3.938 kB / 1.026 GB, free: 54.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000189/0.8347, allocations: 4.25 kB / 1.026 GB, free: 54.85 MB / 0.698 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.0001199/0.8348, allocations: 108.3 kB / 1.026 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.835, allocations: 44.47 kB / 1.026 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.835, allocations: 1.344 kB / 1.026 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.8351, allocations: 28.38 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.8353, allocations: 7.578 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.8356, allocations: 118.1 kB / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.8357, allocations: 0.6771 MB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.8358, allocations: 5.25 kB / 1.027 GB, free: 53.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.8358, allocations: 8.5 kB / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8358, allocations: 0 / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of Templates: time 0.002178/0.838, allocations: 364.2 kB / 1.027 GB, free: 53.87 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)