Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001451/0.001451, 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.001788/0.001788, allocations: 193.9 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.9 MB / 0.7342 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.89 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3142, allocations: 157.4 MB / 1.052 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1639/0.4781, allocations: 159.1 MB / 1.207 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.4807, allocations: 0.9687 MB / 1.208 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.4811, allocations: 7.938 kB / 1.208 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.4819, allocations: 139.2 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.4838, allocations: 0.5955 MB / 1.209 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.4844, allocations: 197.4 kB / 1.209 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.485, allocations: 0.7371 MB / 1.21 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.4854, allocations: 168.1 kB / 1.21 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.4858, allocations: 219.1 kB / 1.21 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.486, allocations: 163.3 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.486, allocations: 12 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.4871, allocations: 0.6389 MB / 1.211 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.4872, allocations: 71.8 kB / 1.211 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.4873, allocations: 111.4 kB / 1.211 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007524/0.4881, allocations: 0.5102 MB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4881, allocations: 4 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4881, allocations: 0 / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4881, allocations: 0 / 1.212 GB, free: 4.711 MB / 0.9669 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.001488/0.4896, allocations: 0.5884 MB / 1.212 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4896, allocations: 12.03 kB / 1.212 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.4899, allocations: 51.61 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.4903, allocations: 282.3 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4903, allocations: 8.328 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.4903, allocations: 16 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.4908, allocations: 243.1 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4909, allocations: 0 / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.4909, allocations: 12 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.4909, allocations: 8 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.4916, allocations: 251.8 kB / 1.213 GB, free: 3.164 MB / 0.9669 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.001238/0.4928, allocations: 0.8353 MB / 1.214 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.4931, allocations: 146.6 kB / 1.214 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.4933, allocations: 108.8 kB / 1.214 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.4936, allocations: 186.2 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.4937, allocations: 38.56 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 6.021e-06/0.4937, allocations: 3.984 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.000834/0.4945, allocations: 305.1 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.4946, allocations: 51.41 kB / 1.215 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.4948, allocations: 245 kB / 1.215 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4948, allocations: 33.7 kB / 1.215 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.4949, allocations: 136.3 kB / 1.215 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.495, allocations: 51.28 kB / 1.215 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.4951, allocations: 37.61 kB / 1.215 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4952, allocations: 334.8 kB / 1.216 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.4954, allocations: 63.95 kB / 1.216 GB, free: 452 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.4956, allocations: 106.5 kB / 1.216 GB, free: 336 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.4959, allocations: 169.8 kB / 1.216 GB, free: 160 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4959, allocations: 0 / 1.216 GB, free: 160 kB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004564/0.4964, allocations: 213.3 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4964, allocations: 11.94 kB / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4964, allocations: 0 / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4965, allocations: 3.938 kB / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.4967, allocations: 35.91 kB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4967, allocations: 0 / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.4969, allocations: 23.83 kB / 1.216 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.4969, allocations: 8.062 kB / 1.216 GB, free: 15.86 MB / 0.9825 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.0001219/0.497, allocations: 143.4 kB / 1.216 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.4971, allocations: 23.66 kB / 1.216 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.4972, allocations: 33.83 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4972, allocations: 3.938 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4972, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4972, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.4982, allocations: 0.6872 MB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4982, allocations: 4 kB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.4984, allocations: 28.19 kB / 1.217 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.4984, allocations: 8 kB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4984, allocations: 12 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4984, allocations: 3.938 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4984, allocations: 4 kB / 1.217 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.4989, allocations: 349.1 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.499, allocations: 120.8 kB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.4991, allocations: 4 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4993, allocations: 15.98 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.4993, allocations: 15.92 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4993, allocations: 4 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001442/0.4995, allocations: 180.5 kB / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4995, allocations: 0 / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003424/0.4998, allocations: 55.91 kB / 1.218 GB, free: 14.05 MB / 0.9825 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.0003461/0.5002, allocations: 161.4 kB / 1.218 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.5006, allocations: 168.7 kB / 1.218 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5006, allocations: 4 kB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.5009, allocations: 95.75 kB / 1.218 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.5016, allocations: 127.2 kB / 1.218 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.5023, allocations: 0.4891 MB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5026, allocations: 0.7521 MB / 1.22 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.5029, allocations: 62.14 kB / 1.22 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.5029, allocations: 27.42 kB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.5029, allocations: 0 / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.007741/0.5107, allocations: 4.204 MB / 1.224 GB, free: 7.965 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches