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.001367/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001473/0.001474, allocations: 199.2 kB / 16.14 MB, free: 6.711 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.543/1.543, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.871/2.871, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001974, allocations: 67.88 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7785, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2123/0.9909, allocations: 159.1 MB / 1.172 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.993, allocations: 0.9782 MB / 1.173 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.9933, allocations: 7.938 kB / 1.173 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006055/0.9939, allocations: 127.3 kB / 1.173 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.9956, allocations: 0.5993 MB / 1.174 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.9962, allocations: 198.8 kB / 1.174 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009476/0.9972, allocations: 0.7449 MB / 1.175 GB, free: 460 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.9976, allocations: 148.2 kB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.9981, allocations: 215.1 kB / 1.175 GB, free: 96 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.9983, allocations: 175.3 kB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.9984, allocations: 8 kB / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.9996, allocations: 0.6389 MB / 1.176 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.9997, allocations: 75.73 kB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.9999, allocations: 115.4 kB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007904/1.001, allocations: 0.5102 MB / 1.176 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/1.001, allocations: 0 / 1.176 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.61e-07/1.001, allocations: 0 / 1.176 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.46e-06/1.001, allocations: 0 / 1.176 GB, free: 14.57 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.001588/1.002, allocations: 0.5961 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.002, allocations: 8.031 kB / 1.177 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/1.003, allocations: 51.69 kB / 1.177 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/1.003, allocations: 274.3 kB / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/1.003, allocations: 16.27 kB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/1.003, allocations: 16 kB / 1.177 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/1.004, allocations: 235.1 kB / 1.178 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.004, allocations: 4 kB / 1.178 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/1.004, allocations: 15.97 kB / 1.178 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/1.004, allocations: 8 kB / 1.178 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/1.005, allocations: 259.5 kB / 1.178 GB, free: 13.02 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.001391/1.006, allocations: 0.8316 MB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/1.006, allocations: 142.5 kB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/1.007, allocations: 108.9 kB / 1.179 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/1.007, allocations: 194.2 kB / 1.179 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.007, allocations: 30.56 kB / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/1.007, allocations: 4 kB / 1.179 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0008813/1.008, allocations: 297.2 kB / 1.179 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/1.008, allocations: 59.41 kB / 1.179 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/1.008, allocations: 248.9 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/1.008, allocations: 25.7 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/1.008, allocations: 140.3 kB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/1.008, allocations: 43.3 kB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/1.008, allocations: 37.61 kB / 1.18 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.009, allocations: 334.8 kB / 1.18 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.009, allocations: 63.95 kB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/1.009, allocations: 106.5 kB / 1.18 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/1.009, allocations: 166.4 kB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.009, allocations: 0 / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000493/1.01, allocations: 212 kB / 1.181 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.01, allocations: 7.938 kB / 1.181 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.01, allocations: 8.062 kB / 1.181 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.01, allocations: 3.938 kB / 1.181 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/1.01, allocations: 31.92 kB / 1.181 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.01, allocations: 7.922 kB / 1.181 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/1.01, allocations: 23.83 kB / 1.181 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/1.01, allocations: 8 kB / 1.181 GB, free: 9.723 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.0001565/1.011, allocations: 145.8 kB / 1.181 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/1.011, allocations: 23.66 kB / 1.181 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.116e-05/1.011, allocations: 33.83 kB / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.011, allocations: 0 / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.011, allocations: 0 / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.011, allocations: 0 / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/1.012, allocations: 0.6794 MB / 1.182 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.012, allocations: 4 kB / 1.182 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/1.012, allocations: 31.97 kB / 1.182 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.012, allocations: 8 kB / 1.182 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/1.012, allocations: 4.219 kB / 1.182 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.012, allocations: 4 kB / 1.182 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.012, allocations: 7.938 kB / 1.182 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/1.013, allocations: 345.2 kB / 1.182 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/1.013, allocations: 120.8 kB / 1.182 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/1.013, allocations: 4 kB / 1.182 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.013, allocations: 11.98 kB / 1.182 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/1.013, allocations: 27.91 kB / 1.182 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/1.013, allocations: 7.984 kB / 1.182 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000194/1.013, allocations: 180.5 kB / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.8e-07/1.013, allocations: 0 / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003799/1.014, allocations: 55.94 kB / 1.182 GB, free: 7.902 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.0004336/1.014, allocations: 164.9 kB / 1.183 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004999/1.015, allocations: 163.8 kB / 1.183 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/1.015, allocations: 4 kB / 1.183 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/1.015, allocations: 95.89 kB / 1.183 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/1.016, allocations: 122.1 kB / 1.183 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/1.017, allocations: 0.5094 MB / 1.183 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/1.017, allocations: 0.7482 MB / 1.184 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002433/1.017, allocations: 65.89 kB / 1.184 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/1.018, allocations: 23.42 kB / 1.184 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/1.018, allocations: 4 kB / 1.184 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.01009/1.028, allocations: 4.192 MB / 1.188 GB, free: 1.816 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=400 -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