Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 79.73 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.768/2.768, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 67.89 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9037/0.9061, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2575/1.164, allocations: 211.1 MB / 1.36 GB, free: 5.496 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02403/1.188, allocations: 14.61 MB / 1.374 GB, free: 6.844 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/1.19, allocations: 91.25 kB / 1.374 GB, free: 6.754 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/1.193, allocations: 1.006 MB / 1.375 GB, free: 5.742 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00867/1.202, allocations: 3.1 MB / 1.378 GB, free: 2.633 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00542/1.207, allocations: 1.696 MB / 1.38 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006922/1.214, allocations: 3.459 MB / 1.383 GB, free: 13.48 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/1.216, allocations: 0.9989 MB / 1.384 GB, free: 12.45 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008055/1.224, allocations: 2.896 MB / 1.387 GB, free: 9.551 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/1.227, allocations: 1.069 MB / 1.388 GB, free: 8.488 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003732/1.227, allocations: 116 kB / 1.388 GB, free: 8.375 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006002/1.233, allocations: 2.54 MB / 1.391 GB, free: 5.828 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008334/1.234, allocations: 482.2 kB / 1.391 GB, free: 5.355 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/1.235, allocations: 0.657 MB / 1.392 GB, free: 4.695 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0057/1.241, allocations: 2.935 MB / 1.395 GB, free: 1.75 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.241, allocations: 4 kB / 1.395 GB, free: 1.746 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.363e-06/1.241, allocations: 0 / 1.395 GB, free: 1.746 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.501e-05/1.241, allocations: 0 / 1.395 GB, free: 1.746 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003899/1.245, allocations: 1.989 MB / 1.397 GB, free: 15.71 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.245, allocations: 8.031 kB / 1.397 GB, free: 15.71 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/1.248, allocations: 0.5101 MB / 1.397 GB, free: 15.2 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/1.251, allocations: 1.117 MB / 1.398 GB, free: 14.03 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.251, allocations: 78 kB / 1.398 GB, free: 13.95 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/1.251, allocations: 104 kB / 1.399 GB, free: 13.85 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/1.254, allocations: 1.45 MB / 1.4 GB, free: 12.26 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/1.254, allocations: 11.88 kB / 1.4 GB, free: 12.25 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.254, allocations: 40 kB / 1.4 GB, free: 12.21 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.928e-05/1.254, allocations: 45.98 kB / 1.4 GB, free: 12.16 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/1.257, allocations: 1.05 MB / 1.401 GB, free: 11.11 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008582/1.265, allocations: 5.784 MB / 1.407 GB, free: 5.117 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/1.267, allocations: 0.5192 MB / 1.407 GB, free: 4.59 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/1.268, allocations: 249.2 kB / 1.408 GB, free: 4.344 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/1.268, allocations: 56.25 kB / 1.408 GB, free: 4.289 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/1.268, allocations: 38.78 kB / 1.408 GB, free: 4.242 MB / 1.248 GB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/1.268, allocations: 4 kB / 1.408 GB, free: 4.238 MB / 1.248 GB Notification: Performance of matching and sorting (n=33): time 0.002626/1.271, allocations: 0.8274 MB / 1.408 GB, free: 3.406 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.271, allocations: 55.41 kB / 1.408 GB, free: 3.34 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.272, allocations: 1.12 MB / 1.41 GB, free: 2.211 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/1.272, allocations: 33.7 kB / 1.41 GB, free: 2.172 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/1.273, allocations: 0.7375 MB / 1.41 GB, free: 1.426 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.273, allocations: 126.9 kB / 1.41 GB, free: 1.301 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/1.274, allocations: 174.5 kB / 1.411 GB, free: 1.121 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.274, allocations: 333.9 kB / 1.411 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008821/1.275, allocations: 316.6 kB / 1.411 GB, free: 488 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/1.276, allocations: 0.9651 MB / 1.412 GB, free: 15.27 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/1.278, allocations: 0.9308 MB / 1.413 GB, free: 14.18 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.278, allocations: 4 kB / 1.413 GB, free: 14.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002607/1.281, allocations: 1.036 MB / 1.414 GB, free: 13.13 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.281, allocations: 16.12 kB / 1.414 GB, free: 13.12 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.281, allocations: 12 kB / 1.414 GB, free: 13.11 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/1.281, allocations: 16 kB / 1.414 GB, free: 13.09 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/1.282, allocations: 203.7 kB / 1.414 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/1.282, allocations: 23.94 kB / 1.414 GB, free: 12.87 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.283, allocations: 151.3 kB / 1.414 GB, free: 12.72 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/1.283, allocations: 40 kB / 1.415 GB, free: 12.68 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/1.284, allocations: 0.5643 MB / 1.415 GB, free: 12.11 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001424/1.286, allocations: 0.9689 MB / 1.416 GB, free: 10.9 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001921/1.288, allocations: 0.9179 MB / 1.417 GB, free: 9.824 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.435e-06/1.288, allocations: 7.984 kB / 1.417 GB, free: 9.816 MB / 1.264 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00257/1.29, allocations: 1.032 MB / 1.418 GB, free: 8.777 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.29, allocations: 8 kB / 1.418 GB, free: 8.77 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.29, allocations: 23.81 kB / 1.418 GB, free: 8.746 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.29, allocations: 16 kB / 1.418 GB, free: 8.73 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/1.291, allocations: 207.8 kB / 1.418 GB, free: 8.527 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/1.291, allocations: 19.94 kB / 1.418 GB, free: 8.508 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.292, allocations: 131.6 kB / 1.418 GB, free: 8.379 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/1.292, allocations: 43.98 kB / 1.418 GB, free: 8.336 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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 0.000268/1.293, allocations: 235.9 kB / 1.419 GB, free: 8.098 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/1.293, allocations: 127.1 kB / 1.419 GB, free: 7.973 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/1.295, allocations: 0.6341 MB / 1.419 GB, free: 7.328 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.295, allocations: 4 kB / 1.419 GB, free: 7.324 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.295, allocations: 3.938 kB / 1.419 GB, free: 7.32 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.295, allocations: 0 / 1.419 GB, free: 7.32 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/1.298, allocations: 1.644 MB / 1.421 GB, free: 5.598 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.298, allocations: 4 kB / 1.421 GB, free: 5.594 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/1.299, allocations: 96.08 kB / 1.421 GB, free: 5.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.299, allocations: 4 kB / 1.421 GB, free: 5.496 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/1.299, allocations: 15.94 kB / 1.421 GB, free: 5.48 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/1.299, allocations: 11.98 kB / 1.421 GB, free: 5.469 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.299, allocations: 7.938 kB / 1.421 GB, free: 5.461 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/1.301, allocations: 0.7666 MB / 1.422 GB, free: 4.633 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/1.301, allocations: 183.1 kB / 1.422 GB, free: 4.453 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.301, allocations: 19.94 kB / 1.422 GB, free: 4.434 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/1.302, allocations: 63.92 kB / 1.422 GB, free: 4.371 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/1.302, allocations: 35.83 kB / 1.422 GB, free: 4.336 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/1.302, allocations: 23.98 kB / 1.422 GB, free: 4.312 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001211/1.303, allocations: 0.7463 MB / 1.423 GB, free: 3.562 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/1.303, allocations: 0 / 1.423 GB, free: 3.562 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001974/1.305, allocations: 0.643 MB / 1.423 GB, free: 2.918 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0004868/1.306, allocations: 250.9 kB / 1.424 GB, free: 2.664 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003002/1.309, allocations: 1.082 MB / 1.425 GB, free: 1.586 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.309, allocations: 0 / 1.425 GB, free: 1.586 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0007067/1.31, allocations: 253.4 kB / 1.425 GB, free: 1.34 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.312, allocations: 456.3 kB / 1.425 GB, free: 0.9062 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/1.317, allocations: 2.233 MB / 1.428 GB, free: 14.59 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/1.318, allocations: 0.5944 MB / 1.428 GB, free: 13.96 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00119/1.319, allocations: 340.6 kB / 1.429 GB, free: 13.62 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/1.319, allocations: 76.48 kB / 1.429 GB, free: 13.55 MB / 1.279 GB Notification: Performance of SimCode: time 6.01e-07/1.319, allocations: 3.938 kB / 1.429 GB, free: 13.54 MB / 1.279 GB Notification: Performance of Templates: time 0.03438/1.353, allocations: 17.78 MB / 1.446 GB, free: 12.18 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.16291009192355]