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.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") 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.798/1.798, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.001076/0.001076, allocations: 181.5 kB / 382.3 MB, free: 14.82 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.513/1.513, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0009297/0.0009296, allocations: 96.02 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 12 kB / 0.9059 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.765/0.7654, allocations: 119.2 MB / 1.022 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.0009699/0.7664, allocations: 427.7 kB / 1.023 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.7673, allocations: 0.7933 MB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.7674, allocations: 2.062 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.7674, allocations: 9.25 kB / 1.023 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.7675, allocations: 7.938 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.559e-05/0.7675, allocations: 8.609 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.058e-05/0.7676, allocations: 43.75 kB / 1.024 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.7678, allocations: 9.375 kB / 1.024 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.7678, allocations: 14.12 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.7679, allocations: 23.66 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.7679, allocations: 1.375 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.7679, allocations: 4.219 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.7679, allocations: 7.375 kB / 1.024 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.768, allocations: 41.7 kB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.824e-05/0.7681, allocations: 32.11 kB / 1.024 GB, free: 57.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.7681, allocations: 4.531 kB / 1.024 GB, free: 57.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7681, allocations: 0 / 1.024 GB, free: 57.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.7681, allocations: 0 / 1.024 GB, free: 57.39 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.0004338/0.7685, allocations: 367.1 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.7686, allocations: 9.438 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.7686, allocations: 7.469 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.7687, allocations: 170.9 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.7687, allocations: 1.875 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.7687, allocations: 3.188 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.769, allocations: 79.06 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.769, allocations: 192 / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.769, allocations: 5.344 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.769, allocations: 0 / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.7693, allocations: 89.11 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.7697, allocations: 272.5 kB / 1.025 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.7699, allocations: 71.52 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.77, allocations: 47.02 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.7701, allocations: 1.781 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.7701, allocations: 34.86 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.7701, allocations: 0 / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005296/0.7706, allocations: 161.3 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.7707, allocations: 54.59 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.7707, allocations: 112.9 kB / 1.025 GB, free: 56.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.7707, allocations: 29.7 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.7708, allocations: 87.78 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.7708, allocations: 22.12 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.7708, allocations: 0 / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.7709, allocations: 314.1 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.771, allocations: 39.45 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.7712, allocations: 48.03 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.7715, allocations: 89.42 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7715, allocations: 3.938 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003115/0.7718, allocations: 121.5 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7718, allocations: 4.688 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7718, allocations: 0.6094 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7718, allocations: 5.219 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.772, allocations: 24.36 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.772, allocations: 0 / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.7721, allocations: 20.81 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.7721, allocations: 1.438 kB / 1.026 GB, free: 55.65 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.803e-05/0.7722, allocations: 119 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.7722, allocations: 5.672 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.7722, allocations: 9.594 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7722, allocations: 1.406 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7722, allocations: 0.9375 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7722, allocations: 0 / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.7724, allocations: 170.4 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7724, allocations: 2.812 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.967e-05/0.7725, allocations: 25 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7725, allocations: 3.938 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.7725, allocations: 1.562 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7725, allocations: 0.6562 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7725, allocations: 0 / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.7729, allocations: 216.9 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.7729, allocations: 83.06 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.7729, allocations: 1.859 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.773, allocations: 20.09 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.7731, allocations: 3.953 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.7731, allocations: 5.094 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.7731, allocations: 91.06 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.7731, allocations: 0 / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001883/0.7733, allocations: 6.156 kB / 1.027 GB, free: 54.98 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.000204/0.7735, allocations: 111.6 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.7739, allocations: 94.84 kB / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7739, allocations: 0 / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.7741, allocations: 43.84 kB / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.7743, allocations: 22.06 kB / 1.027 GB, free: 54.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.7746, allocations: 127.1 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.7748, allocations: 0.6853 MB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.7748, allocations: 3.562 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.7748, allocations: 11.44 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.7748, allocations: 0 / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of Templates: time 0.002205/0.777, allocations: 0.5328 MB / 1.028 GB, free: 53.97 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)