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.001425/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001623/0.001623, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 62.7 kB / 0.8986 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3336, allocations: 157.4 MB / 1.052 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1679/0.5016, allocations: 159.1 MB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.5035, allocations: 0.9562 MB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.5038, allocations: 7.938 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.5044, allocations: 139.2 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.5061, allocations: 0.5954 MB / 1.209 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.5067, allocations: 206.4 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006973/0.5074, allocations: 0.5226 MB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.5078, allocations: 172.2 kB / 1.21 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.5083, allocations: 239.1 kB / 1.21 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.5086, allocations: 175.3 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.5086, allocations: 12 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008752/0.5095, allocations: 0.561 MB / 1.211 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.5097, allocations: 79.78 kB / 1.211 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.5098, allocations: 119.4 kB / 1.211 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.5106, allocations: 0.5102 MB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5106, allocations: 0 / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5106, allocations: 7.938 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.5107, allocations: 4 kB / 1.212 GB, free: 4.695 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.001512/0.5122, allocations: 0.5884 MB / 1.212 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5122, allocations: 12.02 kB / 1.212 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.5125, allocations: 43.69 kB / 1.212 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.5129, allocations: 278.3 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5129, allocations: 12.33 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.513, allocations: 16 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.5135, allocations: 247 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5135, allocations: 0 / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.5136, allocations: 11.98 kB / 1.213 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.5136, allocations: 8 kB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.5142, allocations: 251.8 kB / 1.213 GB, free: 3.152 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.001326/0.5156, allocations: 0.8359 MB / 1.214 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.5159, allocations: 146.5 kB / 1.214 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.5162, allocations: 108.9 kB / 1.214 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/0.5165, allocations: 194.1 kB / 1.215 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5165, allocations: 38.55 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.5165, allocations: 0 / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0008515/0.5174, allocations: 304 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.5174, allocations: 55.41 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.5177, allocations: 241 kB / 1.215 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.5177, allocations: 33.7 kB / 1.215 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.5178, allocations: 128.3 kB / 1.215 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.5179, allocations: 47.3 kB / 1.215 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.518, allocations: 41.61 kB / 1.215 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5181, allocations: 330.8 kB / 1.216 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.5183, allocations: 67.94 kB / 1.216 GB, free: 448 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.5185, allocations: 112.7 kB / 1.216 GB, free: 328 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.5189, allocations: 162.5 kB / 1.216 GB, free: 156 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5189, allocations: 0 / 1.216 GB, free: 156 kB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004778/0.5194, allocations: 209.4 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5194, allocations: 7.938 kB / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.5194, allocations: 4 kB / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5194, allocations: 7.984 kB / 1.216 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.5196, allocations: 31.92 kB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5197, allocations: 4 kB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.5199, allocations: 19.83 kB / 1.216 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.5199, allocations: 27.84 kB / 1.216 GB, free: 15.84 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.0001413/0.52, allocations: 137.9 kB / 1.216 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.5201, allocations: 27.66 kB / 1.216 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.5202, allocations: 37.77 kB / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5202, allocations: 0 / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5202, allocations: 0 / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5202, allocations: 0 / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.5213, allocations: 0.6834 MB / 1.217 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5213, allocations: 0 / 1.217 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.5215, allocations: 27.98 kB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.5215, allocations: 12.2 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5215, allocations: 3.938 kB / 1.217 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5215, allocations: 4 kB / 1.217 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5216, allocations: 4 kB / 1.217 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.5221, allocations: 356.6 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5222, allocations: 116.8 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.5223, allocations: 11.98 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.5225, allocations: 8 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.5225, allocations: 19.92 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.5225, allocations: 11.98 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001878/0.5227, allocations: 176.5 kB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5227, allocations: 0 / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003745/0.5231, allocations: 59.89 kB / 1.218 GB, free: 14.03 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.0004171/0.5235, allocations: 153.3 kB / 1.218 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.5241, allocations: 183.8 kB / 1.218 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5241, allocations: 0 / 1.218 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.5243, allocations: 91.88 kB / 1.218 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007865/0.5251, allocations: 131.5 kB / 1.218 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.5259, allocations: 0.5019 MB / 1.219 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5263, allocations: 0.7518 MB / 1.22 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.5265, allocations: 65.89 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.5266, allocations: 27.42 kB / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.5266, allocations: 0 / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.008895/0.5355, allocations: 4.339 MB / 1.224 GB, free: 7.797 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