Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007447/0.007447, allocations: 97.41 kB / 15.73 MB, free: 6.051 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.001655/0.001655, allocations: 196.9 kB / 16.67 MB, free: 5.977 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.603/2.603, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.9508 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.357, allocations: 140.4 MB / 1.088 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2025/0.5596, allocations: 161.3 MB / 1.245 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.5618, allocations: 0.9711 MB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.5621, allocations: 7.938 kB / 1.246 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.5628, allocations: 159 kB / 1.247 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.5646, allocations: 0.6652 MB / 1.247 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.5653, allocations: 217.6 kB / 1.247 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.566, allocations: 0.5187 MB / 1.248 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.5663, allocations: 179.6 kB / 1.248 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.5668, allocations: 239.1 kB / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.567, allocations: 159.3 kB / 1.248 GB, free: 12.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.567, allocations: 16 kB / 1.248 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009912/0.568, allocations: 0.5455 MB / 1.249 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.5682, allocations: 79.8 kB / 1.249 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.5683, allocations: 119.4 kB / 1.249 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007834/0.5691, allocations: 490.4 kB / 1.25 GB, free: 11.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5691, allocations: 4 kB / 1.25 GB, free: 11.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5692, allocations: 0 / 1.25 GB, free: 11.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.5692, allocations: 0 / 1.25 GB, free: 11.34 MB / 1.014 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.001655/0.5708, allocations: 0.5995 MB / 1.25 GB, free: 10.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.5709, allocations: 12.03 kB / 1.25 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.5712, allocations: 51.81 kB / 1.25 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.5718, allocations: 290.5 kB / 1.251 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.5718, allocations: 12.33 kB / 1.251 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.5719, allocations: 16 kB / 1.251 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.5725, allocations: 243.1 kB / 1.251 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5725, allocations: 0 / 1.251 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.5725, allocations: 4 kB / 1.251 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.5726, allocations: 8 kB / 1.251 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.5732, allocations: 259.8 kB / 1.251 GB, free: 9.77 MB / 1.014 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.001449/0.5746, allocations: 0.8356 MB / 1.252 GB, free: 8.859 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.575, allocations: 150.5 kB / 1.252 GB, free: 8.703 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.5752, allocations: 108.8 kB / 1.252 GB, free: 8.594 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.5756, allocations: 182.2 kB / 1.252 GB, free: 8.379 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.5756, allocations: 42.56 kB / 1.252 GB, free: 8.328 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.5756, allocations: 0 / 1.252 GB, free: 8.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.000909/0.5765, allocations: 297.3 kB / 1.253 GB, free: 8.031 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.5766, allocations: 51.41 kB / 1.253 GB, free: 7.969 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.5769, allocations: 249 kB / 1.253 GB, free: 7.719 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.5769, allocations: 29.64 kB / 1.253 GB, free: 7.684 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.577, allocations: 140.3 kB / 1.253 GB, free: 7.543 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.5771, allocations: 59.45 kB / 1.253 GB, free: 7.484 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.5772, allocations: 33.7 kB / 1.253 GB, free: 7.445 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5774, allocations: 334.8 kB / 1.254 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.5776, allocations: 63.95 kB / 1.254 GB, free: 7.047 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.5778, allocations: 106.5 kB / 1.254 GB, free: 6.934 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.5782, allocations: 170.5 kB / 1.254 GB, free: 6.758 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5782, allocations: 4 kB / 1.254 GB, free: 6.754 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004827/0.5787, allocations: 224.7 kB / 1.254 GB, free: 6.531 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5788, allocations: 7.938 kB / 1.254 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5788, allocations: 0 / 1.254 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.5788, allocations: 4 kB / 1.254 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.579, allocations: 27.97 kB / 1.254 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.579, allocations: 4 kB / 1.254 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.5792, allocations: 23.88 kB / 1.254 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.5792, allocations: 4 kB / 1.254 GB, free: 6.461 MB / 1.014 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.0001924/0.5794, allocations: 149.8 kB / 1.254 GB, free: 6.305 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.5795, allocations: 23.8 kB / 1.254 GB, free: 6.281 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.5796, allocations: 33.83 kB / 1.254 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5796, allocations: 0 / 1.254 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5796, allocations: 0 / 1.254 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.5796, allocations: 4 kB / 1.254 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.5808, allocations: 0.6718 MB / 1.255 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5808, allocations: 4 kB / 1.255 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.581, allocations: 36.12 kB / 1.255 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.581, allocations: 8 kB / 1.255 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.581, allocations: 4 kB / 1.255 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.581, allocations: 0 / 1.255 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-05/0.581, allocations: 4 kB / 1.255 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.5816, allocations: 361.2 kB / 1.255 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.5818, allocations: 116.9 kB / 1.256 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.5818, allocations: 11.94 kB / 1.256 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.582, allocations: 7.984 kB / 1.256 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.5821, allocations: 19.92 kB / 1.256 GB, free: 4.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5821, allocations: 8 kB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001663/0.5823, allocations: 180.5 kB / 1.256 GB, free: 4.695 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.353e-06/0.5823, allocations: 0 / 1.256 GB, free: 4.695 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003603/0.5826, allocations: 59.89 kB / 1.256 GB, free: 4.637 MB / 1.014 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.0004225/0.5831, allocations: 159 kB / 1.256 GB, free: 4.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.5835, allocations: 179.8 kB / 1.256 GB, free: 4.301 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5836, allocations: 0 / 1.256 GB, free: 4.301 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.5838, allocations: 91.86 kB / 1.256 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.5846, allocations: 126.2 kB / 1.256 GB, free: 4.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.5855, allocations: 443.6 kB / 1.257 GB, free: 3.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.5859, allocations: 0.7596 MB / 1.258 GB, free: 2.824 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000198/0.5861, allocations: 61.91 kB / 1.258 GB, free: 2.766 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.5862, allocations: 19.44 kB / 1.258 GB, free: 2.746 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/0.5862, allocations: 0 / 1.258 GB, free: 2.746 MB / 1.014 GB Notification: Performance of Templates: time 0.6324/1.219, allocations: 4.45 MB / 1.262 GB, free: 174.8 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches