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.001298/0.001298, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00142/0.00142, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.853/2.853, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.002101/0.002101, allocations: 71.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9198/0.9219, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2866/1.209, allocations: 211.1 MB / 1.393 GB, free: 2.551 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02353/1.232, allocations: 14.62 MB / 1.407 GB, free: 3.891 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/1.234, allocations: 87.25 kB / 1.407 GB, free: 3.805 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/1.237, allocations: 0.994 MB / 1.408 GB, free: 2.805 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008168/1.245, allocations: 3.096 MB / 1.411 GB, free: 15.7 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/1.25, allocations: 1.709 MB / 1.413 GB, free: 14 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005345/1.255, allocations: 3.461 MB / 1.416 GB, free: 10.53 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/1.257, allocations: 0.9911 MB / 1.417 GB, free: 9.5 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007337/1.264, allocations: 2.887 MB / 1.42 GB, free: 6.613 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/1.267, allocations: 1.062 MB / 1.421 GB, free: 5.559 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002626/1.267, allocations: 120 kB / 1.421 GB, free: 5.441 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006162/1.273, allocations: 2.548 MB / 1.424 GB, free: 2.887 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006585/1.274, allocations: 490.2 kB / 1.424 GB, free: 2.406 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/1.275, allocations: 0.6492 MB / 1.425 GB, free: 1.754 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.007238/1.282, allocations: 2.927 MB / 1.428 GB, free: 14.82 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/1.282, allocations: 0 / 1.428 GB, free: 14.82 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.146e-06/1.282, allocations: 0 / 1.428 GB, free: 14.82 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.632e-05/1.282, allocations: 4 kB / 1.428 GB, free: 14.81 MB / 1.279 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.004844/1.287, allocations: 1.989 MB / 1.429 GB, free: 12.78 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.287, allocations: 12.03 kB / 1.429 GB, free: 12.77 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/1.29, allocations: 0.514 MB / 1.43 GB, free: 12.25 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/1.293, allocations: 1.113 MB / 1.431 GB, free: 11.09 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/1.293, allocations: 78 kB / 1.431 GB, free: 11.02 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/1.293, allocations: 96 kB / 1.431 GB, free: 10.92 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/1.296, allocations: 1.462 MB / 1.433 GB, free: 9.316 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/1.296, allocations: 7.875 kB / 1.433 GB, free: 9.309 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.296, allocations: 47.98 kB / 1.433 GB, free: 9.262 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/1.296, allocations: 45.98 kB / 1.433 GB, free: 9.215 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/1.298, allocations: 1.046 MB / 1.434 GB, free: 8.172 MB / 1.279 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.007952/1.306, allocations: 5.78 MB / 1.439 GB, free: 2.184 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/1.308, allocations: 0.5212 MB / 1.44 GB, free: 1.656 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/1.309, allocations: 249.7 kB / 1.44 GB, free: 1.41 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/1.309, allocations: 56.23 kB / 1.44 GB, free: 1.355 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/1.309, allocations: 38.84 kB / 1.44 GB, free: 1.309 MB / 1.279 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/1.309, allocations: 0 / 1.44 GB, free: 1.309 MB / 1.279 GB Notification: Performance of matching and sorting (n=33): time 0.002509/1.311, allocations: 0.8221 MB / 1.441 GB, free: 492 kB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.312, allocations: 55.41 kB / 1.441 GB, free: 424 kB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.313, allocations: 1.132 MB / 1.442 GB, free: 15.27 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/1.313, allocations: 33.7 kB / 1.442 GB, free: 15.23 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/1.314, allocations: 0.7414 MB / 1.443 GB, free: 14.48 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.314, allocations: 130.9 kB / 1.443 GB, free: 14.36 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/1.314, allocations: 166.5 kB / 1.443 GB, free: 14.18 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.314, allocations: 334 kB / 1.444 GB, free: 13.85 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008786/1.315, allocations: 308.6 kB / 1.444 GB, free: 13.55 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/1.317, allocations: 0.9728 MB / 1.445 GB, free: 12.34 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.319, allocations: 0.9244 MB / 1.446 GB, free: 11.25 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.319, allocations: 4 kB / 1.446 GB, free: 11.25 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002453/1.321, allocations: 1.039 MB / 1.447 GB, free: 10.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.321, allocations: 15.98 kB / 1.447 GB, free: 10.19 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.321, allocations: 12 kB / 1.447 GB, free: 10.18 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/1.321, allocations: 16 kB / 1.447 GB, free: 10.16 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/1.322, allocations: 204 kB / 1.447 GB, free: 9.961 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/1.322, allocations: 23.92 kB / 1.447 GB, free: 9.938 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.323, allocations: 151.3 kB / 1.447 GB, free: 9.789 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.323, allocations: 39.98 kB / 1.447 GB, free: 9.75 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/1.325, allocations: 0.5721 MB / 1.448 GB, free: 9.176 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001372/1.326, allocations: 0.9611 MB / 1.449 GB, free: 7.969 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001856/1.328, allocations: 0.9294 MB / 1.45 GB, free: 6.879 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.166e-06/1.328, allocations: 7.984 kB / 1.45 GB, free: 6.871 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00243/1.33, allocations: 1.031 MB / 1.451 GB, free: 5.832 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.33, allocations: 12 kB / 1.451 GB, free: 5.82 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.33, allocations: 12 kB / 1.451 GB, free: 5.809 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.33, allocations: 16 kB / 1.451 GB, free: 5.793 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/1.331, allocations: 200.3 kB / 1.451 GB, free: 5.598 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.588e-05/1.331, allocations: 27.86 kB / 1.451 GB, free: 5.57 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.332, allocations: 131.5 kB / 1.451 GB, free: 5.441 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/1.333, allocations: 47.98 kB / 1.451 GB, free: 5.395 MB / 1.295 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.0003084/1.333, allocations: 236 kB / 1.451 GB, free: 5.156 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/1.333, allocations: 123.2 kB / 1.451 GB, free: 5.035 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/1.335, allocations: 0.634 MB / 1.452 GB, free: 4.391 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.335, allocations: 0 / 1.452 GB, free: 4.391 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.335, allocations: 4 kB / 1.452 GB, free: 4.387 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/1.335, allocations: 3.984 kB / 1.452 GB, free: 4.383 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/1.339, allocations: 1.641 MB / 1.454 GB, free: 2.664 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.339, allocations: 4 kB / 1.454 GB, free: 2.66 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/1.339, allocations: 87.86 kB / 1.454 GB, free: 2.574 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/1.339, allocations: 11.92 kB / 1.454 GB, free: 2.562 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/1.339, allocations: 12 kB / 1.454 GB, free: 2.551 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.339, allocations: 8 kB / 1.454 GB, free: 2.543 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.339, allocations: 8 kB / 1.454 GB, free: 2.535 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/1.341, allocations: 0.7791 MB / 1.455 GB, free: 1.695 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005324/1.342, allocations: 191 kB / 1.455 GB, free: 1.508 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/1.342, allocations: 8 kB / 1.455 GB, free: 1.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000994/1.343, allocations: 59.94 kB / 1.455 GB, free: 1.441 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/1.343, allocations: 39.83 kB / 1.455 GB, free: 1.402 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/1.343, allocations: 23.97 kB / 1.455 GB, free: 1.379 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00137/1.344, allocations: 0.7502 MB / 1.456 GB, free: 0.625 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.344, allocations: 0 / 1.456 GB, free: 0.625 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002239/1.347, allocations: 0.6354 MB / 1.456 GB, free: 15.98 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.0005465/1.347, allocations: 254.9 kB / 1.456 GB, free: 15.73 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003215/1.35, allocations: 1.09 MB / 1.457 GB, free: 14.64 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.35, allocations: 0 / 1.457 GB, free: 14.64 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0007371/1.351, allocations: 240.1 kB / 1.458 GB, free: 14.41 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.353, allocations: 448.8 kB / 1.458 GB, free: 13.97 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/1.359, allocations: 2.244 MB / 1.46 GB, free: 11.65 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/1.36, allocations: 0.5944 MB / 1.461 GB, free: 11.02 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001336/1.361, allocations: 336.6 kB / 1.461 GB, free: 10.69 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/1.362, allocations: 84.47 kB / 1.461 GB, free: 10.61 MB / 1.311 GB Notification: Performance of SimCode: time 9.52e-07/1.362, allocations: 4 kB / 1.461 GB, free: 10.6 MB / 1.311 GB Notification: Performance of Templates: time 0.03471/1.396, allocations: 17.76 MB / 1.479 GB, free: 9.215 MB / 1.326 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.586261515971273]