Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001436/0.001436, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001601/0.001601, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.298/1.298, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.876/2.876, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.001842/0.001842, allocations: 68.41 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2675, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.241/0.5086, allocations: 242.3 MB / 1.589 GB, free: 5.23 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02072/0.5293, allocations: 15.92 MB / 1.605 GB, free: 5.266 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.5311, allocations: 87.25 kB / 1.605 GB, free: 5.18 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.5336, allocations: 1.08 MB / 1.606 GB, free: 4.094 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.006937/0.5405, allocations: 3.138 MB / 1.609 GB, free: 0.9453 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.5939/1.134, allocations: 1.728 MB / 1.611 GB, free: 6.746 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.00479/1.139, allocations: 3.477 MB / 1.614 GB, free: 6.742 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/1.141, allocations: 1.008 MB / 1.615 GB, free: 6.656 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006665/1.148, allocations: 2.891 MB / 1.618 GB, free: 6.656 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/1.15, allocations: 1.121 MB / 1.619 GB, free: 6.656 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004419/1.151, allocations: 118.1 kB / 1.619 GB, free: 6.656 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005734/1.156, allocations: 3.272 MB / 1.623 GB, free: 6.656 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008706/1.157, allocations: 495.5 kB / 1.623 GB, free: 6.656 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/1.159, allocations: 0.8095 MB / 1.624 GB, free: 6.656 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007072/1.166, allocations: 2.991 MB / 1.627 GB, free: 6.473 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.166, allocations: 1.969 kB / 1.627 GB, free: 6.473 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.694e-06/1.166, allocations: 0 / 1.627 GB, free: 6.473 MB / 1.295 GB Notification: Performance of Transformations before backend: time 7.903e-05/1.166, allocations: 0 / 1.627 GB, free: 6.473 MB / 1.295 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.00494/1.171, allocations: 1.992 MB / 1.629 GB, free: 21.47 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.171, allocations: 10 kB / 1.629 GB, free: 21.47 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/1.171, allocations: 154.6 kB / 1.629 GB, free: 21.43 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/1.174, allocations: 0.5122 MB / 1.629 GB, free: 21.34 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/1.177, allocations: 1.112 MB / 1.63 GB, free: 20.98 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/1.177, allocations: 79.97 kB / 1.63 GB, free: 20.98 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/1.177, allocations: 99.19 kB / 1.631 GB, free: 20.98 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/1.179, allocations: 1.35 MB / 1.632 GB, free: 20.63 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/1.179, allocations: 5.406 kB / 1.632 GB, free: 20.63 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/1.179, allocations: 45.72 kB / 1.632 GB, free: 20.63 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/1.179, allocations: 44.5 kB / 1.632 GB, free: 20.62 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/1.181, allocations: 1.054 MB / 1.633 GB, free: 20.62 MB / 1.311 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.00802/1.189, allocations: 7.399 MB / 1.64 GB, free: 15.59 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.191, allocations: 0.521 MB / 1.641 GB, free: 15.57 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/1.191, allocations: 250.2 kB / 1.641 GB, free: 15.56 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/1.192, allocations: 62.91 kB / 1.641 GB, free: 15.56 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.192, allocations: 40.38 kB / 1.641 GB, free: 15.52 MB / 1.311 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/1.192, allocations: 0 / 1.641 GB, free: 15.52 MB / 1.311 GB Notification: Performance of matching and sorting (n=33): time 0.002279/1.194, allocations: 0.8476 MB / 1.642 GB, free: 15.4 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/1.194, allocations: 55.56 kB / 1.642 GB, free: 15.34 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/1.196, allocations: 1.401 MB / 1.643 GB, free: 15.16 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.196, allocations: 32.64 kB / 1.643 GB, free: 15.13 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/1.196, allocations: 0.718 MB / 1.644 GB, free: 14.85 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/1.197, allocations: 124 kB / 1.644 GB, free: 14.78 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/1.197, allocations: 171.4 kB / 1.644 GB, free: 14.75 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.197, allocations: 335.9 kB / 1.645 GB, free: 14.44 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/1.198, allocations: 311.2 kB / 1.645 GB, free: 14.43 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008608/1.198, allocations: 0.6879 MB / 1.646 GB, free: 13.97 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/1.2, allocations: 0.9265 MB / 1.647 GB, free: 13.56 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.2, allocations: 5.062 kB / 1.647 GB, free: 13.56 MB / 1.311 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002153/1.202, allocations: 1.057 MB / 1.648 GB, free: 13.45 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.202, allocations: 9.875 kB / 1.648 GB, free: 13.45 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/1.202, allocations: 15.2 kB / 1.648 GB, free: 13.45 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.202, allocations: 15.78 kB / 1.648 GB, free: 13.45 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007798/1.203, allocations: 206.8 kB / 1.648 GB, free: 13.45 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/1.203, allocations: 26.36 kB / 1.648 GB, free: 13.45 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.204, allocations: 186.4 kB / 1.648 GB, free: 13.38 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.204, allocations: 45.53 kB / 1.648 GB, free: 13.38 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00117/1.206, allocations: 0.5695 MB / 1.649 GB, free: 13.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008887/1.206, allocations: 0.6878 MB / 1.649 GB, free: 12.84 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/1.208, allocations: 0.9325 MB / 1.65 GB, free: 12.43 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.757e-06/1.208, allocations: 3.625 kB / 1.65 GB, free: 12.43 MB / 1.311 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00218/1.21, allocations: 1.043 MB / 1.651 GB, free: 12.32 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.21, allocations: 10.91 kB / 1.651 GB, free: 12.32 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.21, allocations: 12.62 kB / 1.651 GB, free: 12.32 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.21, allocations: 15.94 kB / 1.651 GB, free: 12.32 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/1.211, allocations: 204.3 kB / 1.651 GB, free: 12.32 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.211, allocations: 21.62 kB / 1.651 GB, free: 12.32 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.212, allocations: 139.5 kB / 1.652 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/1.212, allocations: 48.38 kB / 1.652 GB, free: 12.3 MB / 1.311 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.0003008/1.213, allocations: 240.1 kB / 1.652 GB, free: 12.11 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/1.213, allocations: 150.1 kB / 1.652 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/1.214, allocations: 0.641 MB / 1.653 GB, free: 11.96 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.214, allocations: 5.125 kB / 1.653 GB, free: 11.96 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.214, allocations: 0.875 kB / 1.653 GB, free: 11.96 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.214, allocations: 5.031 kB / 1.653 GB, free: 11.96 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/1.218, allocations: 1.869 MB / 1.654 GB, free: 11.52 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.218, allocations: 4.531 kB / 1.654 GB, free: 11.52 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/1.218, allocations: 93.28 kB / 1.655 GB, free: 11.52 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/1.218, allocations: 5.312 kB / 1.655 GB, free: 11.52 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/1.218, allocations: 14.31 kB / 1.655 GB, free: 11.52 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.218, allocations: 8.375 kB / 1.655 GB, free: 11.52 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.218, allocations: 9.641 kB / 1.655 GB, free: 11.52 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/1.22, allocations: 0.8132 MB / 1.655 GB, free: 11.17 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/1.22, allocations: 228.6 kB / 1.656 GB, free: 11.08 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.22, allocations: 17.34 kB / 1.656 GB, free: 11.08 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/1.221, allocations: 66.27 kB / 1.656 GB, free: 11.08 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/1.221, allocations: 34.61 kB / 1.656 GB, free: 11.07 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/1.221, allocations: 23.53 kB / 1.656 GB, free: 11.07 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00134/1.223, allocations: 1.014 MB / 1.657 GB, free: 10.96 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.4e-07/1.223, allocations: 0 / 1.657 GB, free: 10.96 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001817/1.225, allocations: 0.5744 MB / 1.657 GB, free: 10.91 MB / 1.311 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.001971/1.227, allocations: 1.515 MB / 1.659 GB, free: 10 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002353/1.229, allocations: 1.084 MB / 1.66 GB, free: 9.977 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.229, allocations: 0 / 1.66 GB, free: 9.977 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/1.229, allocations: 250.3 kB / 1.66 GB, free: 9.969 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.233, allocations: 0.746 MB / 1.661 GB, free: 9.828 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.247, allocations: 9.871 MB / 1.67 GB, free: 6.457 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/1.248, allocations: 1.183 MB / 1.672 GB, free: 5.73 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001353/1.249, allocations: 389.6 kB / 1.672 GB, free: 5.637 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/1.25, allocations: 0.4941 MB / 1.672 GB, free: 5.629 MB / 1.311 GB Notification: Performance of SimCode: time 9.02e-07/1.25, allocations: 0 / 1.672 GB, free: 5.629 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/1.317, allocations: 36.37 MB / 1.708 GB, free: 14.23 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.56, allocations: 5.031 kB / 1.708 GB, free: 14.23 MB / 1.326 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv. Warning: Get data of variable res.m_flow from file Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.442951578999782]