Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 55.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7952, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1813/0.9765, allocations: 159.1 MB / 1.172 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.9786, allocations: 0.9622 MB / 1.173 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.979, allocations: 11.88 kB / 1.173 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.9797, allocations: 135.2 kB / 1.173 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.9815, allocations: 0.6033 MB / 1.174 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.9822, allocations: 195.3 kB / 1.174 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.9829, allocations: 0.5304 MB / 1.175 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.9833, allocations: 172.2 kB / 1.175 GB, free: 388 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.9838, allocations: 239 kB / 1.175 GB, free: 148 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.9841, allocations: 167.4 kB / 1.175 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.9841, allocations: 12 kB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008778/0.985, allocations: 0.5648 MB / 1.176 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.9851, allocations: 79.78 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.9852, allocations: 119.4 kB / 1.176 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.9859, allocations: 0.5103 MB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9859, allocations: 4 kB / 1.176 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9859, allocations: 0 / 1.176 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.9859, allocations: 0 / 1.176 GB, free: 14.69 MB / 0.9356 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.001438/0.9874, allocations: 0.6013 MB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.9874, allocations: 8.031 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.9877, allocations: 47.69 kB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.988, allocations: 274.3 kB / 1.177 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.9881, allocations: 12.33 kB / 1.177 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.9881, allocations: 20 kB / 1.177 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.9886, allocations: 243.1 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9886, allocations: 0 / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.9886, allocations: 8 kB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.9887, allocations: 15.98 kB / 1.178 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.9893, allocations: 247.6 kB / 1.178 GB, free: 13.14 MB / 0.9356 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.001243/0.9906, allocations: 0.8432 MB / 1.179 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.9909, allocations: 142.5 kB / 1.179 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.9911, allocations: 108.9 kB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.9914, allocations: 194.2 kB / 1.179 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.9914, allocations: 38.56 kB / 1.179 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.9914, allocations: 0 / 1.179 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0008199/0.9923, allocations: 296.8 kB / 1.179 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.9923, allocations: 59.41 kB / 1.179 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.9926, allocations: 249 kB / 1.18 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.9926, allocations: 29.7 kB / 1.18 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.9927, allocations: 132.2 kB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.9927, allocations: 51.3 kB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.9928, allocations: 33.7 kB / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9929, allocations: 330.8 kB / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.9931, allocations: 63.94 kB / 1.18 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.9934, allocations: 106.5 kB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.9937, allocations: 170.4 kB / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9937, allocations: 0 / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004674/0.9942, allocations: 213.2 kB / 1.181 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.9942, allocations: 11.92 kB / 1.181 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9942, allocations: 4 kB / 1.181 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.9943, allocations: 0 / 1.181 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.9945, allocations: 27.98 kB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9945, allocations: 3.938 kB / 1.181 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.9947, allocations: 19.83 kB / 1.181 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.9947, allocations: 20.05 kB / 1.181 GB, free: 9.836 MB / 0.9356 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.0001372/0.9949, allocations: 133.8 kB / 1.181 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.9949, allocations: 27.66 kB / 1.181 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.995, allocations: 37.88 kB / 1.181 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9951, allocations: 3.984 kB / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.9951, allocations: 0 / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9951, allocations: 3.938 kB / 1.181 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.9961, allocations: 0.6757 MB / 1.182 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9961, allocations: 3.938 kB / 1.182 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.9963, allocations: 40.12 kB / 1.182 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.9963, allocations: 4 kB / 1.182 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.9963, allocations: 0 / 1.182 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9964, allocations: 4 kB / 1.182 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9964, allocations: 7.938 kB / 1.182 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.9969, allocations: 353.1 kB / 1.182 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.997, allocations: 116.8 kB / 1.182 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.997, allocations: 4 kB / 1.182 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.9972, allocations: 15.98 kB / 1.182 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.9973, allocations: 23.86 kB / 1.182 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.9973, allocations: 4 kB / 1.182 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001613/0.9975, allocations: 176.5 kB / 1.182 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9975, allocations: 0 / 1.182 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000375/0.9979, allocations: 59.92 kB / 1.182 GB, free: 8.016 MB / 0.9356 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.0004124/0.9983, allocations: 163.2 kB / 1.183 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.9988, allocations: 172.9 kB / 1.183 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9988, allocations: 0 / 1.183 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.9991, allocations: 99.81 kB / 1.183 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.9998, allocations: 126 kB / 1.183 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/1.001, allocations: 0.5084 MB / 1.183 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/1.001, allocations: 0.7519 MB / 1.184 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002425/1.001, allocations: 61.91 kB / 1.184 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/1.001, allocations: 23.42 kB / 1.184 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.001, allocations: 0 / 1.184 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of Templates: time 0.009352/1.011, allocations: 4.347 MB / 1.189 GB, free: 1.777 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches