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.001492/0.001492, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002157/0.002157, allocations: 220 kB / 22.24 MB, free: 5.109 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.616/1.616, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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 3.088/3.088, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 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.002193/0.002193, allocations: 70.7 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4293, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2203/0.6496, allocations: 142.2 MB / 1.422 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.6525, allocations: 0.9353 MB / 1.423 GB, free: 12.33 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.6531, allocations: 15.88 kB / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009498/0.6541, allocations: 155 kB / 1.423 GB, free: 12.16 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.6565, allocations: 0.6497 MB / 1.424 GB, free: 11.51 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.6574, allocations: 227.3 kB / 1.424 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.6584, allocations: 0.5226 MB / 1.424 GB, free: 10.77 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.6589, allocations: 140.3 kB / 1.424 GB, free: 10.62 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.6597, allocations: 239.1 kB / 1.425 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.6601, allocations: 167.2 kB / 1.425 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.6602, allocations: 12 kB / 1.425 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.6613, allocations: 466.7 kB / 1.425 GB, free: 9.758 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.6615, allocations: 83.72 kB / 1.425 GB, free: 9.676 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.6617, allocations: 95.53 kB / 1.425 GB, free: 9.582 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.6629, allocations: 474.4 kB / 1.426 GB, free: 9.117 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.6629, allocations: 7.984 kB / 1.426 GB, free: 9.109 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6629, allocations: 0 / 1.426 GB, free: 9.109 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.6629, allocations: 0 / 1.426 GB, free: 9.109 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.002044/0.6649, allocations: 0.5243 MB / 1.426 GB, free: 8.555 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.665, allocations: 8.031 kB / 1.426 GB, free: 8.547 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.6653, allocations: 47.77 kB / 1.426 GB, free: 8.5 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.666, allocations: 232.4 kB / 1.427 GB, free: 8.246 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.666, allocations: 16.27 kB / 1.427 GB, free: 8.23 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.6661, allocations: 20 kB / 1.427 GB, free: 8.211 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.6667, allocations: 239.1 kB / 1.427 GB, free: 7.973 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6667, allocations: 0 / 1.427 GB, free: 7.973 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.6667, allocations: 8 kB / 1.427 GB, free: 7.965 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.6667, allocations: 8 kB / 1.427 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.6674, allocations: 255.6 kB / 1.427 GB, free: 7.707 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.001483/0.6689, allocations: 0.643 MB / 1.428 GB, free: 7.027 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.6692, allocations: 142.5 kB / 1.428 GB, free: 6.879 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.6695, allocations: 104.8 kB / 1.428 GB, free: 6.773 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.6697, allocations: 35.97 kB / 1.428 GB, free: 6.738 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.6698, allocations: 30.56 kB / 1.428 GB, free: 6.699 MB / 1.123 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.6698, allocations: 0 / 1.428 GB, free: 6.699 MB / 1.123 GB Notification: Performance of matching and sorting (n=14): time 0.0009691/0.6707, allocations: 299.1 kB / 1.428 GB, free: 6.402 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.6708, allocations: 67.28 kB / 1.428 GB, free: 6.324 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.671, allocations: 184.1 kB / 1.429 GB, free: 6.137 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.6711, allocations: 29.7 kB / 1.429 GB, free: 6.102 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.6712, allocations: 148.3 kB / 1.429 GB, free: 5.953 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.6713, allocations: 47.53 kB / 1.429 GB, free: 5.906 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.6713, allocations: 33.7 kB / 1.429 GB, free: 5.867 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6715, allocations: 330.8 kB / 1.429 GB, free: 5.535 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.6717, allocations: 63.94 kB / 1.429 GB, free: 5.473 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.6721, allocations: 183.6 kB / 1.429 GB, free: 5.266 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.6725, allocations: 172.4 kB / 1.43 GB, free: 5.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6725, allocations: 0 / 1.43 GB, free: 5.09 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005279/0.673, allocations: 209.4 kB / 1.43 GB, free: 4.879 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.673, allocations: 8.062 kB / 1.43 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.673, allocations: 3.984 kB / 1.43 GB, free: 4.867 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.6731, allocations: 7.938 kB / 1.43 GB, free: 4.859 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.6733, allocations: 23.98 kB / 1.43 GB, free: 4.836 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.6733, allocations: 4 kB / 1.43 GB, free: 4.832 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.6735, allocations: 19.88 kB / 1.43 GB, free: 4.812 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.6735, allocations: 12 kB / 1.43 GB, free: 4.801 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.0001942/0.6737, allocations: 145.8 kB / 1.43 GB, free: 4.648 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.6738, allocations: 15.91 kB / 1.43 GB, free: 4.633 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.336e-05/0.6739, allocations: 33.41 kB / 1.43 GB, free: 4.602 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6739, allocations: 0 / 1.43 GB, free: 4.602 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6739, allocations: 0 / 1.43 GB, free: 4.602 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.6739, allocations: 3.984 kB / 1.43 GB, free: 4.598 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.6751, allocations: 0.5975 MB / 1.431 GB, free: 3.941 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6751, allocations: 4 kB / 1.431 GB, free: 3.938 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.6753, allocations: 31.92 kB / 1.431 GB, free: 3.906 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.6753, allocations: 4 kB / 1.431 GB, free: 3.902 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.6753, allocations: 7.984 kB / 1.431 GB, free: 3.895 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6753, allocations: 0 / 1.431 GB, free: 3.895 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6753, allocations: 4 kB / 1.431 GB, free: 3.891 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.6759, allocations: 353.2 kB / 1.431 GB, free: 3.508 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.6761, allocations: 35.92 kB / 1.431 GB, free: 3.473 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.6761, allocations: 4 kB / 1.431 GB, free: 3.469 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.6763, allocations: 11.98 kB / 1.431 GB, free: 3.457 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.6763, allocations: 15.86 kB / 1.431 GB, free: 3.441 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.6763, allocations: 15.98 kB / 1.431 GB, free: 3.426 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001348/0.6765, allocations: 124.5 kB / 1.431 GB, free: 3.305 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/0.6765, allocations: 0 / 1.431 GB, free: 3.305 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000422/0.6769, allocations: 71.88 kB / 1.431 GB, free: 3.234 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.0003196/0.6772, allocations: 139 kB / 1.431 GB, free: 3.09 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.6777, allocations: 182.4 kB / 1.432 GB, free: 2.914 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6777, allocations: 0 / 1.432 GB, free: 2.914 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.678, allocations: 91.94 kB / 1.432 GB, free: 2.824 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.6787, allocations: 87.3 kB / 1.432 GB, free: 2.742 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.6797, allocations: 452 kB / 1.432 GB, free: 2.25 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.6799, allocations: 145.2 kB / 1.432 GB, free: 2.086 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.6801, allocations: 49.45 kB / 1.432 GB, free: 2.039 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.6801, allocations: 23.42 kB / 1.432 GB, free: 2.016 MB / 1.123 GB Notification: Performance of SimCode: time 1.042e-06/0.6801, allocations: 0 / 1.432 GB, free: 2.016 MB / 1.123 GB Notification: Performance of Templates: time 0.009819/0.6899, allocations: 3.829 MB / 1.436 GB, free: 14.29 MB / 1.139 GB " [Timeout remaining time 299] 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 -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/jenkins/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.40810864791274]