Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.627/2.627, allocations: 254.9 MB / 269.9 MB, free: 9.641 MB / 218.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.001584/0.001584, allocations: 191.8 kB / 329.5 MB, free: 1.164 MB / 250.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 2.439/2.439, allocations: 225.6 MB / 0.6001 GB, free: 2.16 MB / 426.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.001021/0.001021, allocations: 95.66 kB / 0.7074 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005014, allocations: 18.72 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001072/0.2184, allocations: 467.6 kB / 0.9312 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000278/0.2187, allocations: 67.75 kB / 0.9313 GB, free: 24.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.2188, allocations: 0 / 0.9313 GB, free: 24.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.219, allocations: 15.88 kB / 0.9313 GB, free: 24.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.076e-05/0.2191, allocations: 15.91 kB / 0.9313 GB, free: 24.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.2193, allocations: 23.95 kB / 0.9313 GB, free: 24.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.2195, allocations: 139.6 kB / 0.9315 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.2198, allocations: 147.1 kB / 0.9316 GB, free: 24.24 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.2198, allocations: 23.88 kB / 0.9316 GB, free: 24.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/0.22, allocations: 51.64 kB / 0.9317 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.22, allocations: 4 kB / 0.9317 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.154e-05/0.22, allocations: 4 kB / 0.9317 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.2201, allocations: 31.86 kB / 0.9317 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.2201, allocations: 49.58 kB / 0.9318 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2204, allocations: 175.7 kB / 0.9319 GB, free: 23.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2204, allocations: 4 kB / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2204, allocations: 0 / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2204, allocations: 0 / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00059/0.221, allocations: 459.5 kB / 0.9324 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.221, allocations: 8.031 kB / 0.9324 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.571e-05/0.2211, allocations: 24.66 kB / 0.9324 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.2215, allocations: 249.2 kB / 0.9327 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2215, allocations: 20.73 kB / 0.9327 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.2216, allocations: 16.38 kB / 0.9327 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.2222, allocations: 341.1 kB / 0.933 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2222, allocations: 3.938 kB / 0.933 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.2223, allocations: 7.984 kB / 0.933 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.2223, allocations: 16 kB / 0.933 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.2228, allocations: 273.6 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.2243, allocations: 1.08 MB / 0.9344 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.785e-05/0.2244, allocations: 173.1 kB / 0.9345 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.2245, allocations: 84.14 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2245, allocations: 75.28 kB / 0.9347 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2245, allocations: 110 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.454e-06/0.2245, allocations: 3.938 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001119/0.2247, allocations: 53.36 kB / 0.9348 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2247, allocations: 126.7 kB / 0.935 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.2254, allocations: 0.4964 MB / 0.9354 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.2255, allocations: 29.7 kB / 0.9355 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2256, allocations: 171.7 kB / 0.9356 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.2256, allocations: 11.98 kB / 0.9356 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.2256, allocations: 0 / 0.9356 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.2257, allocations: 338.8 kB / 0.936 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.2258, allocations: 47.91 kB / 0.936 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.226, allocations: 106.8 kB / 0.9361 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2261, allocations: 63.95 kB / 0.9362 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2261, allocations: 7.938 kB / 0.9362 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004125/0.2266, allocations: 193.3 kB / 0.9364 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2266, allocations: 7.938 kB / 0.9364 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2266, allocations: 4 kB / 0.9364 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2266, allocations: 0 / 0.9364 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2268, allocations: 19.98 kB / 0.9364 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.2268, allocations: 4 kB / 0.9364 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.227, allocations: 31.69 kB / 0.9364 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.227, allocations: 8 kB / 0.9364 GB, free: 19.03 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.2272, allocations: 261.1 kB / 0.9367 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.2273, allocations: 128.5 kB / 0.9368 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.2274, allocations: 134.8 kB / 0.9369 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.2274, allocations: 180.3 kB / 0.9371 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.282e-05/0.2275, allocations: 180.3 kB / 0.9373 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/0.2275, allocations: 184.2 kB / 0.9375 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.2278, allocations: 493.1 kB / 0.9379 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.2278, allocations: 112.9 kB / 0.938 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.2279, allocations: 101 kB / 0.9381 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.213e-05/0.2279, allocations: 180.2 kB / 0.9383 GB, free: 16.99 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.228, allocations: 180.2 kB / 0.9385 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.274e-05/0.228, allocations: 184.3 kB / 0.9387 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-05/0.228, allocations: 192.2 kB / 0.9388 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.2282, allocations: 319.8 kB / 0.9391 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.2283, allocations: 233.7 kB / 0.9394 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.2284, allocations: 184.2 kB / 0.9395 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2286, allocations: 112.9 kB / 0.9397 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.2286, allocations: 176.3 kB / 0.9398 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.2287, allocations: 105 kB / 0.9399 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000543/0.2292, allocations: 366.9 kB / 0.9403 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2292, allocations: 0 / 0.9403 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003556/0.2296, allocations: 28 kB / 0.9403 GB, free: 14.86 MB / 0.5886 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.2297, allocations: 182.5 kB / 0.9405 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.23, allocations: 63.89 kB / 0.9405 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.23, allocations: 0 / 0.9405 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.23, allocations: 0 / 0.9405 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.2306, allocations: 0.5516 MB / 0.9411 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007173/0.2313, allocations: 496.8 kB / 0.9415 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2316, allocations: 0.7751 MB / 0.9423 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000135/0.2317, allocations: 49.53 kB / 0.9423 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.2318, allocations: 27.42 kB / 0.9424 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/0.2318, allocations: 0 / 0.9424 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.006153/0.238, allocations: 1.582 MB / 0.9439 GB, free: 11.08 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)