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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.006193/0.006193, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001494/0.001494, allocations: 188.6 kB / 16.79 MB, free: 5.805 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 / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.854/2.854, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 64.45 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1691/0.4595, allocations: 159.1 MB / 1.208 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4613, allocations: 0.9561 MB / 1.209 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.4617, allocations: 11.94 kB / 1.209 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.4623, allocations: 131.3 kB / 1.209 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.4639, allocations: 0.6022 MB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.4645, allocations: 202.8 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.4653, allocations: 0.7371 MB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.4658, allocations: 164.1 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.4663, allocations: 211.2 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.4666, allocations: 175.3 kB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.4666, allocations: 8 kB / 1.211 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.4677, allocations: 0.6311 MB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.4678, allocations: 83.77 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.468, allocations: 107.4 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.4685, allocations: 347.3 kB / 1.212 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4685, allocations: 0 / 1.212 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4685, allocations: 0 / 1.212 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4686, allocations: 0 / 1.212 GB, free: 4.293 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.001623/0.4702, allocations: 0.5884 MB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4702, allocations: 15.91 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.4705, allocations: 55.67 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.4709, allocations: 274.3 kB / 1.213 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.471, allocations: 20.27 kB / 1.213 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.471, allocations: 20 kB / 1.213 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.4715, allocations: 239.1 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4716, allocations: 0 / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.4716, allocations: 8 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.4716, allocations: 8 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.4723, allocations: 251.8 kB / 1.214 GB, free: 2.738 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.001323/0.4736, allocations: 0.8392 MB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.4739, allocations: 142.4 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.4742, allocations: 112.9 kB / 1.215 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.4745, allocations: 190.1 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4745, allocations: 34.56 kB / 1.215 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.4745, allocations: 0 / 1.215 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0008525/0.4754, allocations: 309.2 kB / 1.215 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4754, allocations: 59.34 kB / 1.215 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.4757, allocations: 237 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.4757, allocations: 29.7 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.4758, allocations: 132.3 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.4759, allocations: 47.3 kB / 1.216 GB, free: 476 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.4759, allocations: 37.61 kB / 1.216 GB, free: 432 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4761, allocations: 334.8 kB / 1.216 GB, free: 88 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.4763, allocations: 71.94 kB / 1.216 GB, free: 16 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.4765, allocations: 98.52 kB / 1.216 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.4769, allocations: 170.4 kB / 1.216 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4769, allocations: 4 kB / 1.216 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004611/0.4773, allocations: 212.5 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4774, allocations: 13.81 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4774, allocations: 0 / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4774, allocations: 0 / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.4776, allocations: 31.97 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4776, allocations: 3.984 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.4778, allocations: 31.89 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.4779, allocations: 4 kB / 1.217 GB, free: 15.44 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.0001343/0.478, allocations: 145.8 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.4781, allocations: 23.66 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.4781, allocations: 33.78 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4781, allocations: 0 / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4782, allocations: 3.984 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4782, allocations: 0 / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4792, allocations: 0.6835 MB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4793, allocations: 4 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.4794, allocations: 27.92 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4794, allocations: 4 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.4795, allocations: 11.98 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4795, allocations: 3.938 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4795, allocations: 4 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.48, allocations: 357.2 kB / 1.218 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.4801, allocations: 120.8 kB / 1.218 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.4802, allocations: 11.98 kB / 1.218 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4804, allocations: 11.98 kB / 1.218 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.4804, allocations: 19.86 kB / 1.218 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4804, allocations: 4 kB / 1.218 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001579/0.4806, allocations: 180.5 kB / 1.218 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4806, allocations: 0 / 1.218 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003552/0.481, allocations: 55.91 kB / 1.218 GB, free: 13.61 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.0003503/0.4813, allocations: 153.9 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.4818, allocations: 174.4 kB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4818, allocations: 4 kB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.482, allocations: 92.44 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.4828, allocations: 120.2 kB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.4836, allocations: 0.5307 MB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4839, allocations: 0.7521 MB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.484, allocations: 23.42 kB / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.484, allocations: 0 / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.006603/0.4906, allocations: 3.692 MB / 1.224 GB, free: 8.027 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time