Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.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.697/1.697, 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.001006/0.001006, allocations: 171.5 kB / 393.1 MB, free: 4.074 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.318/1.318, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0008513/0.0008513, allocations: 98.38 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 8 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.6049, allocations: 121.3 MB / 1.041 GB, free: 58.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0008415/0.6058, allocations: 453.9 kB / 1.041 GB, free: 58.46 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.6066, allocations: 0.8055 MB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.6066, allocations: 1.125 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.6066, allocations: 0.7031 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/0.6067, allocations: 6.578 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.282e-05/0.6068, allocations: 9.25 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.6069, allocations: 48.83 kB / 1.042 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.607, allocations: 12.55 kB / 1.042 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.6071, allocations: 16.59 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.6071, allocations: 20.44 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.6071, allocations: 2.719 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.6072, allocations: 2.625 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.6072, allocations: 11.25 kB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.6072, allocations: 39.5 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.607e-05/0.6073, allocations: 44.22 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6073, allocations: 1.938 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6073, allocations: 1.812 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.6073, allocations: 0 / 1.042 GB, free: 57.73 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.0004804/0.6078, allocations: 373.7 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6079, allocations: 9.438 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.6079, allocations: 3.344 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.608, allocations: 174.4 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.6081, allocations: 2.625 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.6081, allocations: 1.969 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.6083, allocations: 84.7 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6084, allocations: 2.312 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.6084, allocations: 3.938 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6084, allocations: 2.406 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.6087, allocations: 87.12 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.609, allocations: 273 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.6092, allocations: 75.73 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.6094, allocations: 53.45 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.6094, allocations: 0 / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.6095, allocations: 32.42 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.6095, allocations: 0 / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005321/0.61, allocations: 168.9 kB / 1.044 GB, free: 56.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.61, allocations: 59.34 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.6101, allocations: 116.6 kB / 1.044 GB, free: 56.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.6101, allocations: 25.7 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.6102, allocations: 85.92 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.6102, allocations: 11.88 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.6102, allocations: 0 / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.479e-05/0.6103, allocations: 316.6 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.6104, allocations: 46.8 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.6105, allocations: 41.78 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.6108, allocations: 96.98 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6108, allocations: 0 / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003043/0.6111, allocations: 126.7 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6112, allocations: 8.5 kB / 1.045 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6112, allocations: 0 / 1.045 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6112, allocations: 1.953 kB / 1.045 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6113, allocations: 20.55 kB / 1.045 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.6113, allocations: 0 / 1.045 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.6114, allocations: 26.11 kB / 1.045 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.6114, allocations: 0 / 1.045 GB, free: 55.96 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 5.493e-05/0.6115, allocations: 117.3 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.6115, allocations: 6.703 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.6115, allocations: 8.984 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6116, allocations: 1.031 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6116, allocations: 0 / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6116, allocations: 2.234 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.6117, allocations: 178 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6117, allocations: 2.203 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.6118, allocations: 21.39 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6118, allocations: 0 / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.6118, allocations: 0 / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6118, allocations: 0 / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6118, allocations: 0 / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.6122, allocations: 226.4 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.6122, allocations: 82.83 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.6122, allocations: 0 / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.6124, allocations: 19.7 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.6124, allocations: 1.938 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.6124, allocations: 1.531 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.6124, allocations: 97.2 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6124, allocations: 0 / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001906/0.6126, allocations: 12.34 kB / 1.045 GB, free: 55.29 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 9.791e-05/0.6127, allocations: 113.7 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.6131, allocations: 93.66 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6131, allocations: 0 / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.6133, allocations: 48.34 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.6135, allocations: 9.625 kB / 1.046 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.6138, allocations: 137.6 kB / 1.046 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.614, allocations: 0.6868 MB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.614, allocations: 2.344 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.6141, allocations: 7.438 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.6141, allocations: 0 / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of Templates: time 0.002341/0.6164, allocations: 0.5543 MB / 1.047 GB, free: 54.27 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)