Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001361/0.001361, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001753/0.001753, allocations: 160.7 kB / 23.02 MB, free: 4.941 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.555/1.555, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.798/2.798, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_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.00254/0.00254, allocations: 67.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4503, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 1.136/1.586, allocations: 142.2 MB / 1.256 GB, free: 184 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002659/1.588, allocations: 0.9478 MB / 1.257 GB, free: 15.54 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/1.589, allocations: 13.75 kB / 1.257 GB, free: 15.53 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/1.59, allocations: 153.7 kB / 1.257 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/1.592, allocations: 0.6408 MB / 1.258 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/1.593, allocations: 230.1 kB / 1.258 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009105/1.593, allocations: 0.5238 MB / 1.259 GB, free: 14.78 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/1.594, allocations: 135 kB / 1.259 GB, free: 14.72 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/1.594, allocations: 239.9 kB / 1.259 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/1.595, allocations: 163.4 kB / 1.259 GB, free: 14.56 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/1.595, allocations: 18.19 kB / 1.259 GB, free: 14.55 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/1.596, allocations: 465.4 kB / 1.26 GB, free: 14.38 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/1.596, allocations: 83.3 kB / 1.26 GB, free: 14.35 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/1.596, allocations: 97.03 kB / 1.26 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009054/1.597, allocations: 477.4 kB / 1.26 GB, free: 14.15 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.597, allocations: 0 / 1.26 GB, free: 14.15 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.844e-06/1.597, allocations: 0 / 1.26 GB, free: 14.15 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.597, allocations: 1.062 kB / 1.26 GB, free: 14.15 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001684/1.599, allocations: 0.5281 MB / 1.261 GB, free: 13.76 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.599, allocations: 10.23 kB / 1.261 GB, free: 13.76 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/1.599, allocations: 53.64 kB / 1.261 GB, free: 13.74 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/1.6, allocations: 227.3 kB / 1.261 GB, free: 13.56 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/1.6, allocations: 11.86 kB / 1.261 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/1.6, allocations: 15.97 kB / 1.261 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/1.6, allocations: 240.5 kB / 1.261 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.6, allocations: 8.453 kB / 1.261 GB, free: 13.45 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/1.6, allocations: 6.156 kB / 1.261 GB, free: 13.45 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/1.6, allocations: 8.469 kB / 1.261 GB, free: 13.45 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/1.601, allocations: 255.2 kB / 1.262 GB, free: 13.37 MB / 1.123 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.001598/1.603, allocations: 0.6382 MB / 1.262 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/1.603, allocations: 137.7 kB / 1.262 GB, free: 12.91 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/1.603, allocations: 109.2 kB / 1.262 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/1.604, allocations: 41.67 kB / 1.263 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/1.604, allocations: 35.84 kB / 1.263 GB, free: 12.82 MB / 1.123 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/1.604, allocations: 0 / 1.263 GB, free: 12.82 MB / 1.123 GB Notification: Performance of matching and sorting (n=14): time 0.00102/1.605, allocations: 296.6 kB / 1.263 GB, free: 12.71 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.605, allocations: 53.47 kB / 1.263 GB, free: 12.64 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/1.605, allocations: 185.3 kB / 1.263 GB, free: 12.52 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.605, allocations: 26.86 kB / 1.263 GB, free: 12.49 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/1.605, allocations: 149.5 kB / 1.263 GB, free: 12.36 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/1.605, allocations: 53.02 kB / 1.263 GB, free: 12.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/1.605, allocations: 42.75 kB / 1.263 GB, free: 12.29 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.606, allocations: 324.5 kB / 1.264 GB, free: 11.97 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/1.606, allocations: 68.8 kB / 1.264 GB, free: 11.95 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/1.606, allocations: 184.8 kB / 1.264 GB, free: 11.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/1.607, allocations: 161.4 kB / 1.264 GB, free: 11.74 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.607, allocations: 7.297 kB / 1.264 GB, free: 11.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000538/1.607, allocations: 209 kB / 1.264 GB, free: 11.64 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.607, allocations: 6.734 kB / 1.264 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.607, allocations: 1.094 kB / 1.264 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.607, allocations: 5 kB / 1.264 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/1.607, allocations: 32.44 kB / 1.264 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.607, allocations: 4.453 kB / 1.264 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/1.607, allocations: 21.81 kB / 1.264 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/1.608, allocations: 11.06 kB / 1.264 GB, free: 11.62 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001673/1.608, allocations: 140.4 kB / 1.264 GB, free: 11.49 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/1.608, allocations: 21.36 kB / 1.264 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.518e-05/1.608, allocations: 24.42 kB / 1.264 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.608, allocations: 6.25 kB / 1.264 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.608, allocations: 0 / 1.264 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.608, allocations: 0.75 kB / 1.264 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/1.609, allocations: 0.605 MB / 1.265 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.609, allocations: 2.344 kB / 1.265 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.609, allocations: 28.73 kB / 1.265 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.609, allocations: 7.219 kB / 1.265 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/1.609, allocations: 2.953 kB / 1.265 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.609, allocations: 4.359 kB / 1.265 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.609, allocations: 8.25 kB / 1.265 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/1.61, allocations: 351.8 kB / 1.265 GB, free: 10.79 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/1.61, allocations: 33.03 kB / 1.266 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/1.61, allocations: 8.391 kB / 1.266 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/1.61, allocations: 7.5 kB / 1.266 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/1.61, allocations: 19.45 kB / 1.266 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/1.61, allocations: 5.766 kB / 1.266 GB, free: 10.77 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001422/1.61, allocations: 139.8 kB / 1.266 GB, free: 10.67 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.61, allocations: 0 / 1.266 GB, free: 10.67 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004442/1.611, allocations: 66.28 kB / 1.266 GB, free: 10.66 MB / 1.123 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 (14): * Single equations (assignments): 14 * 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.0002899/1.611, allocations: 139.3 kB / 1.266 GB, free: 10.55 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004971/1.612, allocations: 164.9 kB / 1.266 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.612, allocations: 0 / 1.266 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/1.612, allocations: 94.48 kB / 1.266 GB, free: 10.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/1.612, allocations: 87.42 kB / 1.266 GB, free: 10.46 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/1.613, allocations: 460.7 kB / 1.267 GB, free: 10.14 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/1.613, allocations: 148.4 kB / 1.267 GB, free: 10.05 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000177/1.614, allocations: 56.19 kB / 1.267 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/1.614, allocations: 25.06 kB / 1.267 GB, free: 10.03 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/1.614, allocations: 0 / 1.267 GB, free: 10.03 MB / 1.123 GB Notification: Performance of Templates: time 0.01021/1.624, allocations: 3.509 MB / 1.27 GB, free: 9.676 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.105398272979073]