Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001705/0.001705, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001472/0.001472, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) [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.002232/0.002232, allocations: 63.91 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.8058, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2928/1.099, allocations: 241.5 MB / 1.514 GB, free: 10.98 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0257/1.124, allocations: 15.84 MB / 1.53 GB, free: 11.1 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/1.127, allocations: 91.25 kB / 1.53 GB, free: 11.01 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003185/1.13, allocations: 1.076 MB / 1.531 GB, free: 9.93 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009089/1.139, allocations: 3.1 MB / 1.534 GB, free: 6.816 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/1.144, allocations: 1.708 MB / 1.535 GB, free: 5.121 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005364/1.149, allocations: 3.434 MB / 1.539 GB, free: 1.676 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/1.151, allocations: 1.061 MB / 1.54 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006868/1.158, allocations: 2.599 MB / 1.542 GB, free: 13.98 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/1.161, allocations: 1.148 MB / 1.543 GB, free: 12.84 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004206/1.161, allocations: 116 kB / 1.544 GB, free: 12.73 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006568/1.168, allocations: 3.27 MB / 1.547 GB, free: 9.449 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008782/1.169, allocations: 486.3 kB / 1.547 GB, free: 8.973 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/1.171, allocations: 0.8123 MB / 1.548 GB, free: 8.156 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006415/1.177, allocations: 2.982 MB / 1.551 GB, free: 5.164 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.177, allocations: 4 kB / 1.551 GB, free: 5.16 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.573e-06/1.177, allocations: 3.938 kB / 1.551 GB, free: 5.156 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.857e-05/1.177, allocations: 0 / 1.551 GB, free: 5.156 MB / 1.248 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.00476/1.182, allocations: 2.067 MB / 1.553 GB, free: 3.031 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.182, allocations: 8.031 kB / 1.553 GB, free: 3.023 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002812/1.182, allocations: 156.2 kB / 1.553 GB, free: 2.863 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/1.185, allocations: 0.5063 MB / 1.554 GB, free: 2.355 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/1.188, allocations: 1.177 MB / 1.555 GB, free: 1.125 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/1.188, allocations: 81.94 kB / 1.555 GB, free: 1.043 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/1.188, allocations: 96 kB / 1.555 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/1.191, allocations: 1.354 MB / 1.556 GB, free: 15.48 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.191, allocations: 7.938 kB / 1.556 GB, free: 15.47 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/1.191, allocations: 44 kB / 1.556 GB, free: 15.43 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/1.191, allocations: 45.98 kB / 1.556 GB, free: 15.38 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/1.194, allocations: 1.046 MB / 1.557 GB, free: 14.34 MB / 1.264 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.01001/1.204, allocations: 7.396 MB / 1.565 GB, free: 6.457 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/1.206, allocations: 0.5197 MB / 1.565 GB, free: 5.93 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/1.207, allocations: 253.1 kB / 1.565 GB, free: 5.68 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/1.207, allocations: 291.5 kB / 1.566 GB, free: 5.34 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.207, allocations: 34.84 kB / 1.566 GB, free: 5.297 MB / 1.264 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/1.207, allocations: 0 / 1.566 GB, free: 5.297 MB / 1.264 GB Notification: Performance of matching and sorting (n=33): time 0.002739/1.21, allocations: 0.8493 MB / 1.566 GB, free: 4.441 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/1.21, allocations: 59.41 kB / 1.567 GB, free: 4.371 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/1.212, allocations: 1.387 MB / 1.568 GB, free: 2.973 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/1.213, allocations: 37.7 kB / 1.568 GB, free: 2.93 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/1.213, allocations: 0.7119 MB / 1.569 GB, free: 2.215 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/1.213, allocations: 130.9 kB / 1.569 GB, free: 2.086 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/1.214, allocations: 170.5 kB / 1.569 GB, free: 1.914 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.214, allocations: 337.9 kB / 1.569 GB, free: 1.578 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009135/1.215, allocations: 312.6 kB / 1.57 GB, free: 1.27 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/1.216, allocations: 0.6852 MB / 1.57 GB, free: 420 kB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/1.218, allocations: 0.9316 MB / 1.571 GB, free: 15.32 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.218, allocations: 4 kB / 1.571 GB, free: 15.32 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002751/1.221, allocations: 1.059 MB / 1.572 GB, free: 14.25 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.221, allocations: 8 kB / 1.572 GB, free: 14.24 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/1.221, allocations: 12 kB / 1.572 GB, free: 14.23 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/1.221, allocations: 16 kB / 1.572 GB, free: 14.21 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/1.222, allocations: 207.9 kB / 1.572 GB, free: 14.01 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.139e-05/1.222, allocations: 19.94 kB / 1.572 GB, free: 13.99 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.223, allocations: 188.7 kB / 1.573 GB, free: 13.81 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/1.224, allocations: 47.98 kB / 1.573 GB, free: 13.76 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001346/1.225, allocations: 0.5664 MB / 1.573 GB, free: 13.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001271/1.226, allocations: 0.6891 MB / 1.574 GB, free: 12.33 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001949/1.228, allocations: 0.9179 MB / 1.575 GB, free: 11.25 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.338e-06/1.228, allocations: 4 kB / 1.575 GB, free: 11.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002747/1.231, allocations: 1.062 MB / 1.576 GB, free: 10.18 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.231, allocations: 8 kB / 1.576 GB, free: 10.17 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.231, allocations: 12.84 kB / 1.576 GB, free: 10.16 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.231, allocations: 16 kB / 1.576 GB, free: 10.14 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/1.232, allocations: 207.6 kB / 1.576 GB, free: 9.941 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/1.232, allocations: 19.94 kB / 1.576 GB, free: 9.922 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.233, allocations: 135.6 kB / 1.576 GB, free: 9.789 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/1.233, allocations: 47.98 kB / 1.576 GB, free: 9.742 MB / 1.279 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.0002785/1.234, allocations: 235.9 kB / 1.576 GB, free: 9.504 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/1.234, allocations: 155.1 kB / 1.577 GB, free: 9.352 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/1.236, allocations: 0.6442 MB / 1.577 GB, free: 8.691 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/1.236, allocations: 8 kB / 1.577 GB, free: 8.684 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.236, allocations: 0 / 1.577 GB, free: 8.684 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.236, allocations: 0 / 1.577 GB, free: 8.684 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/1.24, allocations: 1.89 MB / 1.579 GB, free: 6.684 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.24, allocations: 7.938 kB / 1.579 GB, free: 6.676 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/1.24, allocations: 91.86 kB / 1.579 GB, free: 6.586 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.24, allocations: 7.984 kB / 1.579 GB, free: 6.578 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/1.24, allocations: 12.16 kB / 1.579 GB, free: 6.566 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/1.24, allocations: 11.94 kB / 1.579 GB, free: 6.555 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.24, allocations: 8 kB / 1.579 GB, free: 6.547 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/1.242, allocations: 0.8063 MB / 1.58 GB, free: 5.676 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/1.243, allocations: 315.9 kB / 1.58 GB, free: 5.348 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/1.243, allocations: 8 kB / 1.58 GB, free: 5.34 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.244, allocations: 67.92 kB / 1.58 GB, free: 5.273 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/1.244, allocations: 31.84 kB / 1.58 GB, free: 5.242 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/1.244, allocations: 27.97 kB / 1.58 GB, free: 5.215 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001817/1.246, allocations: 1.005 MB / 1.581 GB, free: 4.215 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/1.246, allocations: 0 / 1.581 GB, free: 4.215 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002181/1.248, allocations: 0.5813 MB / 1.582 GB, free: 3.633 MB / 1.279 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.002657/1.251, allocations: 1.509 MB / 1.583 GB, free: 2.051 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003224/1.254, allocations: 1.086 MB / 1.585 GB, free: 0.9688 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.254, allocations: 0 / 1.585 GB, free: 0.9688 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0007958/1.255, allocations: 244.4 kB / 1.585 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.259, allocations: 0.7469 MB / 1.585 GB, free: 15.98 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.28, allocations: 9.838 MB / 1.595 GB, free: 5.613 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.281, allocations: 1.182 MB / 1.596 GB, free: 4.398 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001442/1.283, allocations: 383.8 kB / 1.597 GB, free: 4.02 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/1.284, allocations: 0.4953 MB / 1.597 GB, free: 3.527 MB / 1.295 GB Notification: Performance of SimCode: time 1.002e-06/1.284, allocations: 0 / 1.597 GB, free: 3.527 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7122/1.996, allocations: 35.71 MB / 1.632 GB, free: 306.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/12.56, allocations: 10.81 kB / 1.632 GB, free: 306.2 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_11_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable res.m_flow in file Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.csv. Warning: Get data of variable res.m_flow from file Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.706496336031705]