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.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") 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.846/1.846, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.001192/0.001192, 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.45/1.45, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.000878/0.0008779, allocations: 90.02 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 17.23 kB / 0.9059 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8034, allocations: 119.2 MB / 1.022 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001178/0.8047, allocations: 426.7 kB / 1.023 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.8058, allocations: 0.7926 MB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.8058, allocations: 5.312 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.8058, allocations: 3.938 kB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.8059, allocations: 3.031 kB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.938e-05/0.806, allocations: 9.219 kB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.8061, allocations: 42.98 kB / 1.024 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.8062, allocations: 15.77 kB / 1.024 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.8063, allocations: 20.23 kB / 1.024 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.8064, allocations: 15.62 kB / 1.024 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.8064, allocations: 2.594 kB / 1.024 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.8064, allocations: 3.25 kB / 1.024 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.8064, allocations: 4.625 kB / 1.024 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.8065, allocations: 40.8 kB / 1.024 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.8066, allocations: 37.89 kB / 1.024 GB, free: 57.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8066, allocations: 0 / 1.024 GB, free: 57.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8066, allocations: 1.75 kB / 1.024 GB, free: 57.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.8066, allocations: 0 / 1.024 GB, free: 57.51 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.0004996/0.8071, allocations: 368.4 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8072, allocations: 9.469 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.8072, allocations: 7.688 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.8073, allocations: 169.3 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.8073, allocations: 384 / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.8073, allocations: 10.34 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.8076, allocations: 78.2 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.8076, allocations: 2.297 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8076, allocations: 3.938 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8077, allocations: 1.906 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.808, allocations: 86.14 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.8084, allocations: 271.6 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.8086, allocations: 76.92 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.8088, allocations: 49.94 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.8088, allocations: 0 / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.8088, allocations: 32.38 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.8088, allocations: 0 / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005957/0.8094, allocations: 165.2 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.8095, allocations: 55.34 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.8096, allocations: 112.4 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.8096, allocations: 25.7 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.8096, allocations: 83 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.8096, allocations: 22.44 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.8096, allocations: 0 / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.8097, allocations: 314.8 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.8099, allocations: 41.31 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.81, allocations: 43.27 kB / 1.026 GB, free: 55.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.8103, allocations: 89.84 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8103, allocations: 4.641 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003519/0.8107, allocations: 121.6 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.8107, allocations: 8.781 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8107, allocations: 1.375 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8108, allocations: 1.172 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.8109, allocations: 28.14 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8109, allocations: 2.031 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.811, allocations: 17.19 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.811, allocations: 1.375 kB / 1.026 GB, free: 55.76 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 6.746e-05/0.8111, allocations: 112.4 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.8111, allocations: 6.656 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.8112, allocations: 14.69 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8112, allocations: 0 / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8112, allocations: 0 / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.8112, allocations: 2.172 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.8113, allocations: 173.8 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8113, allocations: 0 / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.8114, allocations: 21.2 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8115, allocations: 0 / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.8115, allocations: 11.08 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.8115, allocations: 1.25 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8115, allocations: 0 / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.8119, allocations: 221.8 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.8119, allocations: 82.83 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.8119, allocations: 2.484 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.812, allocations: 19.42 kB / 1.027 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.8121, allocations: 11.06 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.8121, allocations: 1.828 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.8121, allocations: 86.5 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8122, allocations: 0 / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001864/0.8123, allocations: 6.25 kB / 1.027 GB, free: 55.09 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.0001455/0.8125, allocations: 106.5 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.8129, allocations: 95.67 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8129, allocations: 0 / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.813, allocations: 51.16 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.8133, allocations: 8.688 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.8136, allocations: 135.2 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.8138, allocations: 0.682 MB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.8138, allocations: 0 / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.8139, allocations: 8.812 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/0.8139, allocations: 0 / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of Templates: time 0.002626/0.8165, allocations: 0.5355 MB / 1.028 GB, free: 54.08 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)