Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 193.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9344, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1967/1.131, allocations: 162.2 MB / 1.432 GB, free: 1.703 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003188/1.134, allocations: 1.722 MB / 1.434 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/1.135, allocations: 11.88 kB / 1.434 GB, free: 15.96 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006083/1.135, allocations: 166.9 kB / 1.434 GB, free: 15.8 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/1.137, allocations: 0.5321 MB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/1.138, allocations: 430.6 kB / 1.435 GB, free: 14.85 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000865/1.139, allocations: 0.5654 MB / 1.436 GB, free: 14.28 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/1.139, allocations: 148.4 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006829/1.14, allocations: 326.8 kB / 1.436 GB, free: 13.82 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/1.14, allocations: 163.2 kB / 1.436 GB, free: 13.66 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/1.14, allocations: 12 kB / 1.436 GB, free: 13.65 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/1.141, allocations: 0.721 MB / 1.437 GB, free: 12.93 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/1.141, allocations: 83.72 kB / 1.437 GB, free: 12.84 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/1.142, allocations: 115.3 kB / 1.437 GB, free: 12.73 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008897/1.142, allocations: 0.4904 MB / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.142, allocations: 0 / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.273e-06/1.142, allocations: 0 / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.682e-06/1.142, allocations: 0 / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009701/1.143, allocations: 0.5989 MB / 1.438 GB, free: 11.59 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/1.143, allocations: 11.97 kB / 1.438 GB, free: 11.58 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/1.144, allocations: 55.77 kB / 1.438 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/1.144, allocations: 301.5 kB / 1.439 GB, free: 11.19 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.144, allocations: 20 kB / 1.439 GB, free: 11.17 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/1.144, allocations: 19.94 kB / 1.439 GB, free: 11.15 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/1.145, allocations: 188.1 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.145, allocations: 4 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/1.145, allocations: 4 kB / 1.439 GB, free: 10.94 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/1.145, allocations: 7.938 kB / 1.439 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/1.145, allocations: 131.8 kB / 1.439 GB, free: 10.8 MB / 1.139 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.00111/1.146, allocations: 0.7732 MB / 1.44 GB, free: 9.961 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/1.147, allocations: 86.47 kB / 1.44 GB, free: 9.867 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/1.147, allocations: 72.86 kB / 1.44 GB, free: 9.793 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/1.147, allocations: 190.2 kB / 1.44 GB, free: 9.57 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/1.147, allocations: 34.56 kB / 1.44 GB, free: 9.527 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/1.147, allocations: 0 / 1.44 GB, free: 9.527 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0007273/1.148, allocations: 217.3 kB / 1.44 GB, free: 9.309 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/1.148, allocations: 59.39 kB / 1.44 GB, free: 9.238 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/1.148, allocations: 267 kB / 1.441 GB, free: 8.969 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/1.148, allocations: 30.08 kB / 1.441 GB, free: 8.934 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/1.148, allocations: 148 kB / 1.441 GB, free: 8.785 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/1.148, allocations: 31.7 kB / 1.441 GB, free: 8.754 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/1.148, allocations: 37.64 kB / 1.441 GB, free: 8.711 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.149, allocations: 338.8 kB / 1.441 GB, free: 8.371 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/1.149, allocations: 48.83 kB / 1.441 GB, free: 8.32 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/1.149, allocations: 89.11 kB / 1.441 GB, free: 8.215 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/1.149, allocations: 127.3 kB / 1.441 GB, free: 8.078 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.149, allocations: 0 / 1.441 GB, free: 8.078 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003717/1.15, allocations: 161.4 kB / 1.442 GB, free: 7.914 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/1.15, allocations: 8 kB / 1.442 GB, free: 7.906 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.15, allocations: 0 / 1.442 GB, free: 7.906 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.15, allocations: 3.938 kB / 1.442 GB, free: 7.902 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/1.15, allocations: 27.92 kB / 1.442 GB, free: 7.875 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.15, allocations: 0 / 1.442 GB, free: 7.875 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/1.15, allocations: 19.88 kB / 1.442 GB, free: 7.855 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/1.15, allocations: 12.03 kB / 1.442 GB, free: 7.844 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002201/1.15, allocations: 148.1 kB / 1.442 GB, free: 7.695 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001716/1.15, allocations: 89.11 kB / 1.442 GB, free: 7.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002723/1.151, allocations: 123.4 kB / 1.442 GB, free: 7.457 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/1.151, allocations: 0 / 1.442 GB, free: 7.457 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003564/1.151, allocations: 157.6 kB / 1.442 GB, free: 7.297 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/1.151, allocations: 10.34 kB / 1.442 GB, free: 7.289 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/1.151, allocations: 4 kB / 1.442 GB, free: 7.285 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/1.151, allocations: 4 kB / 1.442 GB, free: 7.281 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/1.151, allocations: 31.89 kB / 1.442 GB, free: 7.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/1.151, allocations: 0 / 1.442 GB, free: 7.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/1.151, allocations: 15.97 kB / 1.442 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/1.151, allocations: 4 kB / 1.442 GB, free: 7.23 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001378/1.151, allocations: 188.2 kB / 1.442 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/1.152, allocations: 23.86 kB / 1.442 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/1.152, allocations: 167.6 kB / 1.443 GB, free: 6.848 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.152, allocations: 4.094 kB / 1.443 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.152, allocations: 3.938 kB / 1.443 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.152, allocations: 0 / 1.443 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009917/1.153, allocations: 0.5976 MB / 1.443 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.153, allocations: 0 / 1.443 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.153, allocations: 23.98 kB / 1.443 GB, free: 6.141 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.153, allocations: 0 / 1.443 GB, free: 6.141 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/1.153, allocations: 4 kB / 1.443 GB, free: 6.137 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/1.153, allocations: 11.92 kB / 1.443 GB, free: 6.125 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.153, allocations: 224 / 1.443 GB, free: 6.125 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/1.154, allocations: 305.2 kB / 1.444 GB, free: 5.789 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.154, allocations: 109 kB / 1.444 GB, free: 5.664 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/1.154, allocations: 4 kB / 1.444 GB, free: 5.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/1.154, allocations: 11.98 kB / 1.444 GB, free: 5.648 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/1.154, allocations: 19.86 kB / 1.444 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.154, allocations: 4 kB / 1.444 GB, free: 5.625 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002203/1.154, allocations: 201.9 kB / 1.444 GB, free: 5.43 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.154, allocations: 0 / 1.444 GB, free: 5.43 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004828/1.155, allocations: 95.83 kB / 1.444 GB, free: 5.336 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0004561/1.155, allocations: 157.6 kB / 1.444 GB, free: 5.176 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005185/1.156, allocations: 171.8 kB / 1.444 GB, free: 5.008 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.156, allocations: 0 / 1.444 GB, free: 5.008 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/1.156, allocations: 59.91 kB / 1.444 GB, free: 4.949 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/1.157, allocations: 117.2 kB / 1.444 GB, free: 4.836 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/1.157, allocations: 444.7 kB / 1.445 GB, free: 4.355 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.158, allocations: 0.7635 MB / 1.446 GB, free: 3.566 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002177/1.158, allocations: 74.47 kB / 1.446 GB, free: 3.496 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/1.158, allocations: 19.44 kB / 1.446 GB, free: 3.477 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/1.158, allocations: 0 / 1.446 GB, free: 3.477 MB / 1.139 GB Notification: Performance of Templates: time 0.01051/1.169, allocations: 4.461 MB / 1.45 GB, free: 15.09 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.419426285196096]