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.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.432/2.432, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001396/0.001395, allocations: 200.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.572/2.572, allocations: 225.6 MB / 0.6001 GB, free: 0.5391 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.0009872/0.000987, allocations: 98.23 kB / 0.7074 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.0005235, allocations: 13.72 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001585/0.2188, allocations: 1.124 MB / 0.9319 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003134/0.2191, allocations: 115.7 kB / 0.932 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.2191, allocations: 0 / 0.932 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2192, allocations: 3.938 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.2193, allocations: 11.92 kB / 0.932 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.2194, allocations: 7.984 kB / 0.932 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.2195, allocations: 35.92 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2196, allocations: 15.98 kB / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.2197, allocations: 15.92 kB / 0.9321 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.2197, allocations: 19.92 kB / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2198, allocations: 0 / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.2198, allocations: 0 / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.2198, allocations: 4 kB / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.2199, allocations: 33.64 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.2199, allocations: 27.92 kB / 0.9322 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2199, allocations: 0 / 0.9322 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.22, allocations: 0 / 0.9322 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.22, allocations: 4 kB / 0.9322 GB, free: 23.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005985/0.2206, allocations: 367.6 kB / 0.9325 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2206, allocations: 8.031 kB / 0.9325 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.2207, allocations: 0.9375 kB / 0.9325 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.631e-05/0.2208, allocations: 176.3 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2208, allocations: 4.375 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.2208, allocations: 4.375 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.2212, allocations: 82.2 kB / 0.9328 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2212, allocations: 4.125 kB / 0.9328 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2213, allocations: 7.938 kB / 0.9328 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2213, allocations: 0 / 0.9328 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.2218, allocations: 87.92 kB / 0.9329 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.2222, allocations: 260.9 kB / 0.9331 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.2225, allocations: 70.48 kB / 0.9332 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.2228, allocations: 52.84 kB / 0.9333 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.2228, allocations: 0 / 0.9333 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.2228, allocations: 42.56 kB / 0.9333 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2229, allocations: 3.938 kB / 0.9333 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0008893/0.2238, allocations: 157.6 kB / 0.9334 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.2238, allocations: 55.34 kB / 0.9335 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.2239, allocations: 113.8 kB / 0.9336 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2239, allocations: 25.7 kB / 0.9336 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.224, allocations: 88.05 kB / 0.9337 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.224, allocations: 3.906 kB / 0.9337 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.224, allocations: 4 kB / 0.9337 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.2241, allocations: 318.8 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.2244, allocations: 47.91 kB / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.2246, allocations: 36.16 kB / 0.9341 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.2249, allocations: 52.03 kB / 0.9342 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2249, allocations: 3.938 kB / 0.9342 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005515/0.2255, allocations: 117.6 kB / 0.9343 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2255, allocations: 4 kB / 0.9343 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2255, allocations: 0 / 0.9343 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.2255, allocations: 4 kB / 0.9343 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2257, allocations: 23.97 kB / 0.9343 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2258, allocations: 4 kB / 0.9343 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2259, allocations: 15.98 kB / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2259, allocations: 0 / 0.9343 GB, free: 21.05 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.226, allocations: 113.8 kB / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.2261, allocations: 11.84 kB / 0.9344 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/0.2267, allocations: 125.5 kB / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2267, allocations: 4 kB / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2267, allocations: 0 / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2267, allocations: 0 / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.2269, allocations: 173.6 kB / 0.9347 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2269, allocations: 0 / 0.9347 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.2271, allocations: 19.98 kB / 0.9348 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2271, allocations: 0 / 0.9348 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2271, allocations: 4 kB / 0.9348 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2271, allocations: 4 kB / 0.9348 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2271, allocations: 0 / 0.9348 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.2277, allocations: 227.2 kB / 0.935 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.2278, allocations: 81.05 kB / 0.9351 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.2278, allocations: 7.938 kB / 0.9351 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.228, allocations: 15.98 kB / 0.9351 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.228, allocations: 11.98 kB / 0.9351 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.2281, allocations: 0 / 0.9351 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.2281, allocations: 83.28 kB / 0.9352 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2281, allocations: 0 / 0.9352 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002675/0.2284, allocations: 8 kB / 0.9352 GB, free: 20.07 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 (3): * Single equations (assignments): 3 * 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.0001299/0.2285, allocations: 107.2 kB / 0.9353 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005686/0.2291, allocations: 99.8 kB / 0.9354 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2291, allocations: 0 / 0.9354 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.2294, allocations: 43.97 kB / 0.9354 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2298, allocations: 11.92 kB / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.2301, allocations: 136.7 kB / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2303, allocations: 0.6809 MB / 0.9362 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.2303, allocations: 0 / 0.9362 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.2304, allocations: 7.438 kB / 0.9362 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/0.2304, allocations: 0 / 0.9362 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of Templates: time 0.003085/0.2335, allocations: 0.5389 MB / 0.9368 GB, free: 18.39 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)