Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001918/0.001918, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002194/0.002194, allocations: 220.6 kB / 23.01 MB, free: 4.609 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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 3.29/3.29, allocations: 0.49 GB / 0.7958 GB, free: 33.25 MB / 0.6231 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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [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.00205/0.00205, allocations: 68.7 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4118, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2278/0.6396, allocations: 177.1 MB / 1.5 GB, free: 15.72 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003882/0.6435, allocations: 1.863 MB / 1.502 GB, free: 13.86 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.644, allocations: 19.81 kB / 1.502 GB, free: 13.84 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008562/0.6449, allocations: 222.5 kB / 1.502 GB, free: 13.62 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.6471, allocations: 0.7973 MB / 1.503 GB, free: 12.82 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.6498, allocations: 0.8787 MB / 1.504 GB, free: 11.94 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.6514, allocations: 0.8612 MB / 1.505 GB, free: 11.08 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.652, allocations: 239.5 kB / 1.505 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.6534, allocations: 0.5839 MB / 1.505 GB, free: 10.25 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.6538, allocations: 286.8 kB / 1.506 GB, free: 9.973 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.6538, allocations: 24 kB / 1.506 GB, free: 9.949 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.6562, allocations: 1.192 MB / 1.507 GB, free: 8.754 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.6564, allocations: 123.6 kB / 1.507 GB, free: 8.633 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.6567, allocations: 207 kB / 1.507 GB, free: 8.43 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.6584, allocations: 0.9151 MB / 1.508 GB, free: 7.512 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6584, allocations: 0 / 1.508 GB, free: 7.512 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6584, allocations: 0 / 1.508 GB, free: 7.512 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.6584, allocations: 0 / 1.508 GB, free: 7.512 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00185/0.6603, allocations: 0.7185 MB / 1.509 GB, free: 6.762 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6603, allocations: 15.97 kB / 1.509 GB, free: 6.746 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.6613, allocations: 167.5 kB / 1.509 GB, free: 6.582 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.662, allocations: 291.7 kB / 1.509 GB, free: 6.27 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.6621, allocations: 24.66 kB / 1.509 GB, free: 6.246 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.6621, allocations: 27.94 kB / 1.509 GB, free: 6.219 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.6629, allocations: 403.5 kB / 1.51 GB, free: 5.801 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6629, allocations: 0 / 1.51 GB, free: 5.801 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.6629, allocations: 12 kB / 1.51 GB, free: 5.789 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.6629, allocations: 16.59 kB / 1.51 GB, free: 5.773 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007313/0.6637, allocations: 342.3 kB / 1.51 GB, free: 5.441 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.666, allocations: 1.742 MB / 1.512 GB, free: 3.535 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.6665, allocations: 226.7 kB / 1.512 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.6668, allocations: 132.8 kB / 1.512 GB, free: 3.172 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/0.6672, allocations: 79.89 kB / 1.512 GB, free: 3.094 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.6673, allocations: 34.56 kB / 1.512 GB, free: 3.051 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.6673, allocations: 0 / 1.512 GB, free: 3.051 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.00106/0.6683, allocations: 390.3 kB / 1.513 GB, free: 2.664 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.6684, allocations: 55.41 kB / 1.513 GB, free: 2.598 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.6688, allocations: 357.7 kB / 1.513 GB, free: 2.238 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.6689, allocations: 29.7 kB / 1.513 GB, free: 2.203 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.669, allocations: 200.3 kB / 1.513 GB, free: 2.004 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.6691, allocations: 71.39 kB / 1.513 GB, free: 1.934 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.6692, allocations: 41.7 kB / 1.513 GB, free: 1.887 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6694, allocations: 350.7 kB / 1.514 GB, free: 1.535 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.6696, allocations: 99.92 kB / 1.514 GB, free: 1.438 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.6699, allocations: 149.9 kB / 1.514 GB, free: 1.27 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.6703, allocations: 255.6 kB / 1.514 GB, free: 1 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6703, allocations: 0 / 1.514 GB, free: 1 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005968/0.6709, allocations: 306.5 kB / 1.514 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.671, allocations: 11.94 kB / 1.514 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.671, allocations: 0 / 1.514 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.671, allocations: 4 kB / 1.514 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.6713, allocations: 51.91 kB / 1.514 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6713, allocations: 4 kB / 1.514 GB, free: 0.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.6715, allocations: 39.75 kB / 1.514 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.6716, allocations: 12.19 kB / 1.514 GB, free: 0.5742 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001906/0.6718, allocations: 157.7 kB / 1.515 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.6718, allocations: 35.77 kB / 1.515 GB, free: 384 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.6725, allocations: 302.6 kB / 1.515 GB, free: 72 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6725, allocations: 0 / 1.515 GB, free: 72 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6725, allocations: 3.938 kB / 1.515 GB, free: 68 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6725, allocations: 0 / 1.515 GB, free: 68 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.674, allocations: 0.8769 MB / 1.516 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.674, allocations: 4 kB / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.6742, allocations: 47.91 kB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.6742, allocations: 4 kB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6742, allocations: 4 kB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6742, allocations: 4 kB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6742, allocations: 352 / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.6749, allocations: 452.5 kB / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.675, allocations: 59.67 kB / 1.516 GB, free: 14.49 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.6751, allocations: 11.98 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.6753, allocations: 20 kB / 1.516 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.6754, allocations: 23.84 kB / 1.516 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.6754, allocations: 12 kB / 1.516 GB, free: 14.43 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003047/0.6757, allocations: 255.1 kB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6757, allocations: 4 kB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004602/0.6762, allocations: 95.89 kB / 1.517 GB, free: 14.09 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0003139/0.6765, allocations: 174.9 kB / 1.517 GB, free: 13.9 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005819/0.6771, allocations: 233.7 kB / 1.517 GB, free: 13.68 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6771, allocations: 4.062 kB / 1.517 GB, free: 13.67 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.6773, allocations: 123.8 kB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6784, allocations: 198 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.6796, allocations: 0.674 MB / 1.518 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.6801, allocations: 0.7997 MB / 1.519 GB, free: 11.79 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.6802, allocations: 35.42 kB / 1.519 GB, free: 11.75 MB / 1.217 GB Notification: Performance of SimCode: time 4.41e-07/0.6802, allocations: 0 / 1.519 GB, free: 11.75 MB / 1.217 GB Notification: Performance of Templates: time 0.009903/0.6901, allocations: 5.918 MB / 1.525 GB, free: 5.895 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 13.197155637986725]