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.001052/0.001052, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01008/0.01008, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 9.969 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1844/0.5389, allocations: 157 MB / 1.212 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.5409, allocations: 0.951 MB / 1.213 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.5413, allocations: 7.938 kB / 1.213 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.5419, allocations: 127.3 kB / 1.213 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.5436, allocations: 0.6032 MB / 1.214 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.5442, allocations: 203 kB / 1.214 GB, free: 6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008651/0.5451, allocations: 0.7371 MB / 1.215 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.5455, allocations: 160.1 kB / 1.215 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.546, allocations: 211.1 kB / 1.215 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.5463, allocations: 167.3 kB / 1.215 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.5464, allocations: 12 kB / 1.215 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.5474, allocations: 0.6311 MB / 1.216 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.5475, allocations: 79.77 kB / 1.216 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.5477, allocations: 133.1 kB / 1.216 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007839/0.5485, allocations: 0.5063 MB / 1.216 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5485, allocations: 0 / 1.216 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5485, allocations: 0 / 1.216 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.5485, allocations: 4 kB / 1.216 GB, free: 3.359 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.001448/0.55, allocations: 0.5494 MB / 1.217 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.55, allocations: 12.03 kB / 1.217 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.5503, allocations: 47.69 kB / 1.217 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.5507, allocations: 278.3 kB / 1.217 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.5507, allocations: 8.328 kB / 1.217 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.5508, allocations: 16 kB / 1.217 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.5513, allocations: 251.1 kB / 1.218 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5513, allocations: 3.938 kB / 1.218 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.5514, allocations: 4 kB / 1.218 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.5514, allocations: 12 kB / 1.218 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.552, allocations: 263.8 kB / 1.218 GB, free: 1.84 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.001236/0.5533, allocations: 0.8392 MB / 1.219 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.5536, allocations: 154.6 kB / 1.219 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.5539, allocations: 108.8 kB / 1.219 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.5541, allocations: 198.2 kB / 1.219 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5542, allocations: 30.56 kB / 1.219 GB, free: 392 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.5542, allocations: 0 / 1.219 GB, free: 392 kB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0008408/0.555, allocations: 325.1 kB / 1.219 GB, free: 60 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.5551, allocations: 55.41 kB / 1.219 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.5553, allocations: 241 kB / 1.22 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.5553, allocations: 29.7 kB / 1.22 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.5554, allocations: 140.2 kB / 1.22 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.5555, allocations: 47.3 kB / 1.22 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.5555, allocations: 17.72 kB / 1.22 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5556, allocations: 334.8 kB / 1.22 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.5558, allocations: 71.94 kB / 1.22 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.5561, allocations: 112.2 kB / 1.22 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.5565, allocations: 189.1 kB / 1.221 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5565, allocations: 0 / 1.221 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000468/0.5569, allocations: 221.2 kB / 1.221 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.557, allocations: 9.344 kB / 1.221 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.557, allocations: 0 / 1.221 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.557, allocations: 8.062 kB / 1.221 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.5572, allocations: 31.97 kB / 1.221 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5572, allocations: 3.938 kB / 1.221 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5574, allocations: 27.83 kB / 1.221 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.5574, allocations: 12 kB / 1.221 GB, free: 14.48 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.0001381/0.5576, allocations: 151.3 kB / 1.221 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.5576, allocations: 23.75 kB / 1.221 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.5577, allocations: 33.83 kB / 1.221 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5577, allocations: 0 / 1.221 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5577, allocations: 0 / 1.221 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5577, allocations: 0 / 1.221 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5588, allocations: 0.6834 MB / 1.222 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5588, allocations: 12.16 kB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.559, allocations: 31.98 kB / 1.222 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.559, allocations: 4 kB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.559, allocations: 7.984 kB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.559, allocations: 0 / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.559, allocations: 7.938 kB / 1.222 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.5595, allocations: 369.1 kB / 1.222 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.5596, allocations: 108.8 kB / 1.222 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.5597, allocations: 11.98 kB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5599, allocations: 8 kB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.5599, allocations: 23.86 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.5599, allocations: 11.98 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001503/0.5601, allocations: 176.5 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5601, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000348/0.5605, allocations: 59.89 kB / 1.223 GB, free: 12.64 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.0003294/0.5608, allocations: 164.5 kB / 1.223 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.5613, allocations: 181.6 kB / 1.223 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5613, allocations: 0 / 1.223 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.5615, allocations: 103.8 kB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.5623, allocations: 116.9 kB / 1.223 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.5631, allocations: 0.5141 MB / 1.224 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5634, allocations: 0.7521 MB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002142/0.5636, allocations: 57.91 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.5637, allocations: 19.44 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.5637, allocations: 4 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of Templates: time 0.008294/0.572, allocations: 4.191 MB / 1.228 GB, free: 6.547 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