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.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, 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.002048/0.002048, allocations: 196.8 kB / 329.5 MB, free: 1.152 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.827/2.827, allocations: 225.6 MB / 0.6001 GB, free: 3.633 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.0009394/0.0009392, allocations: 93.7 kB / 0.7074 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005147, allocations: 15.19 kB / 0.8242 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2115, allocations: 109.1 MB / 0.9308 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008532/0.2124, allocations: 384.7 kB / 0.9312 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001231/0.2125, allocations: 15.92 kB / 0.9312 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.2126, allocations: 0 / 0.9312 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.285e-05/0.2127, allocations: 3.938 kB / 0.9312 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.2127, allocations: 4 kB / 0.9312 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.811e-05/0.2128, allocations: 4 kB / 0.9312 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.331e-05/0.2129, allocations: 27.92 kB / 0.9312 GB, free: 43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.213, allocations: 27.98 kB / 0.9312 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.2131, allocations: 8 kB / 0.9312 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.029e-05/0.2131, allocations: 11.91 kB / 0.9313 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2131, allocations: 0 / 0.9313 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.2131, allocations: 4 kB / 0.9313 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.2132, allocations: 11.88 kB / 0.9313 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.2132, allocations: 29.7 kB / 0.9313 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.59e-05/0.2133, allocations: 31.94 kB / 0.9313 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2133, allocations: 0 / 0.9313 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2133, allocations: 0 / 0.9313 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2133, allocations: 0 / 0.9313 GB, free: 42.87 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002866/0.2136, allocations: 359.5 kB / 0.9317 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2137, allocations: 10.84 kB / 0.9317 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.2137, allocations: 4.938 kB / 0.9317 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2138, allocations: 176.3 kB / 0.9319 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2139, allocations: 4.375 kB / 0.9319 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2139, allocations: 4.375 kB / 0.9319 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.2141, allocations: 74.23 kB / 0.9319 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2141, allocations: 192 / 0.9319 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2141, allocations: 3.938 kB / 0.9319 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2142, allocations: 4 kB / 0.9319 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.2143, allocations: 59.89 kB / 0.932 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.2147, allocations: 487 kB / 0.9325 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.2148, allocations: 173.1 kB / 0.9326 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.2148, allocations: 84.14 kB / 0.9327 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2149, allocations: 79.28 kB / 0.9328 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2149, allocations: 109.9 kB / 0.9329 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.2149, allocations: 0 / 0.9329 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.582e-05/0.215, allocations: 41.55 kB / 0.9329 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.2151, allocations: 126.7 kB / 0.933 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2152, allocations: 177.4 kB / 0.9332 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.2153, allocations: 25.7 kB / 0.9332 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.2153, allocations: 100.1 kB / 0.9333 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.2153, allocations: 0 / 0.9333 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-06/0.2153, allocations: 0 / 0.9333 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.2154, allocations: 318.8 kB / 0.9336 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.2154, allocations: 7.984 kB / 0.9336 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.2155, allocations: 8 kB / 0.9337 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.2155, allocations: 7.984 kB / 0.9337 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2155, allocations: 0 / 0.9337 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001257/0.2157, allocations: 53.69 kB / 0.9337 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2157, allocations: 8 kB / 0.9337 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2157, allocations: 0 / 0.9337 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2157, allocations: 0 / 0.9337 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.2158, allocations: 11.92 kB / 0.9337 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2158, allocations: 3.938 kB / 0.9337 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.2159, allocations: 7.938 kB / 0.9337 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.2159, allocations: 7.938 kB / 0.9338 GB, free: 40.16 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 8.349e-05/0.216, allocations: 193.1 kB / 0.9339 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.216, allocations: 112.9 kB / 0.934 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.2161, allocations: 112.8 kB / 0.9342 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/0.2161, allocations: 180.3 kB / 0.9343 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-05/0.2162, allocations: 184.2 kB / 0.9345 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.473e-05/0.2162, allocations: 180.2 kB / 0.9347 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.2164, allocations: 425.2 kB / 0.9351 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.2164, allocations: 104.9 kB / 0.9352 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.2165, allocations: 101 kB / 0.9353 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.543e-05/0.2165, allocations: 184.3 kB / 0.9354 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.2166, allocations: 188.9 kB / 0.9356 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.378e-05/0.2166, allocations: 176.3 kB / 0.9358 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.725e-05/0.2166, allocations: 188.1 kB / 0.936 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.2168, allocations: 311.7 kB / 0.9363 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.2168, allocations: 198.2 kB / 0.9365 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.2169, allocations: 176.3 kB / 0.9366 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.217, allocations: 112.9 kB / 0.9367 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.217, allocations: 188.2 kB / 0.9369 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2171, allocations: 101 kB / 0.937 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001187/0.2172, allocations: 131.2 kB / 0.9371 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.292e-06/0.2172, allocations: 0 / 0.9371 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002649/0.2175, allocations: 7.938 kB / 0.9371 GB, free: 36.46 MB / 0.6042 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.0001447/0.2176, allocations: 180.1 kB / 0.9373 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.2177, allocations: 19.98 kB / 0.9373 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2177, allocations: 0 / 0.9373 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.2178, allocations: 0 / 0.9373 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.2182, allocations: 0.5185 MB / 0.9378 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.2185, allocations: 214.1 kB / 0.938 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.2187, allocations: 0.6887 MB / 0.9387 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.2187, allocations: 4 kB / 0.9387 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.2187, allocations: 15.38 kB / 0.9387 GB, free: 34.76 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.2187, allocations: 0 / 0.9387 GB, free: 34.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.003075/0.2218, allocations: 443.5 kB / 0.9392 GB, free: 34.33 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)