Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.953/1.953, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.0009833/0.0009833, allocations: 182.7 kB / 393.1 MB, free: 4.066 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.611/1.611, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008277, allocations: 104.8 kB / 0.7935 GB, free: 39.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 12 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8361, allocations: 121.3 MB / 1.041 GB, free: 58.06 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001231/0.8374, allocations: 429.4 kB / 1.041 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.8386, allocations: 0.7991 MB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.8386, allocations: 1.594 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.8387, allocations: 3.938 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.8388, allocations: 9.094 kB / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.21e-05/0.8389, allocations: 13.84 kB / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.839, allocations: 38.3 kB / 1.042 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.8391, allocations: 11.94 kB / 1.042 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.8392, allocations: 17.47 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.8393, allocations: 17.39 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.8393, allocations: 2.031 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.8394, allocations: 6.531 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.8394, allocations: 5.594 kB / 1.042 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.8395, allocations: 45.05 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.8396, allocations: 31.42 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.8396, allocations: 0 / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8396, allocations: 0 / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8397, allocations: 0 / 1.042 GB, free: 57.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007311/0.8404, allocations: 373 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.8405, allocations: 9.938 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.8405, allocations: 7.344 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.8407, allocations: 174.6 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8407, allocations: 2.875 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.8407, allocations: 4.641 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.8411, allocations: 81.69 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8411, allocations: 192 / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.8411, allocations: 5.109 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8412, allocations: 1.25 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.8416, allocations: 85.59 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.8421, allocations: 268.4 kB / 1.043 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.8424, allocations: 72.14 kB / 1.043 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.8427, allocations: 54.94 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.8427, allocations: 0 / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.8427, allocations: 32.48 kB / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.325e-06/0.8427, allocations: 0 / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0008131/0.8436, allocations: 169.1 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.8436, allocations: 51.41 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.8437, allocations: 112.5 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.8438, allocations: 25.7 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.8438, allocations: 91.2 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8438, allocations: 9.25 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-06/0.8439, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.8439, allocations: 322.4 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.8442, allocations: 40.22 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.8444, allocations: 41.22 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.8448, allocations: 90.33 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8449, allocations: 11.88 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004715/0.8453, allocations: 128.3 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.8454, allocations: 6.625 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8454, allocations: 1.375 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.8454, allocations: 0 / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.8456, allocations: 22.47 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.8456, allocations: 0 / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.8458, allocations: 19.28 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.8458, allocations: 1.125 kB / 1.044 GB, free: 55.38 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 (3): * Single equations (assignments): 3 * 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 9.37e-05/0.8459, allocations: 112.7 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.8459, allocations: 10.62 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.846, allocations: 8.5 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.846, allocations: 4.719 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.846, allocations: 0 / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.846, allocations: 0 / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.8462, allocations: 172.9 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8463, allocations: 3.312 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.8464, allocations: 20.34 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.8464, allocations: 0 / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8464, allocations: 0 / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.8465, allocations: 4.547 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8465, allocations: 0 / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.8469, allocations: 222.5 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.847, allocations: 83.27 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.847, allocations: 0.9688 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.8472, allocations: 19.86 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.8473, allocations: 4.531 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.8473, allocations: 0 / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.8474, allocations: 89.39 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8474, allocations: 4 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002298/0.8476, allocations: 9.469 kB / 1.045 GB, free: 54.71 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 (3): * Single equations (assignments): 3 * 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.0001398/0.8478, allocations: 101.3 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.8481, allocations: 96.8 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8481, allocations: 0 / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.8483, allocations: 48.91 kB / 1.045 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.8487, allocations: 9.094 kB / 1.045 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.8491, allocations: 136.6 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.8494, allocations: 0.6843 MB / 1.046 GB, free: 53.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.491e-05/0.8494, allocations: 3.938 kB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.8495, allocations: 8.75 kB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.8495, allocations: 0 / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of Templates: time 0.003584/0.8531, allocations: 0.5354 MB / 1.047 GB, free: 53.68 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)