Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe") translateModel(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009076, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6429, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.02513/0.6681, allocations: 28.08 MB / 1.051 GB, free: 3.664 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008959/0.6771, allocations: 6.763 MB / 1.058 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.6782, allocations: 35.75 kB / 1.058 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009918/0.6792, allocations: 326 kB / 1.058 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.6823, allocations: 1.202 MB / 1.059 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.6838, allocations: 0.5613 MB / 1.06 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.687, allocations: 2.742 MB / 1.062 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.6877, allocations: 468.7 kB / 1.063 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.689, allocations: 0.7349 MB / 1.064 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006227/0.6896, allocations: 0.5248 MB / 1.064 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.6897, allocations: 24 kB / 1.064 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.6916, allocations: 0.9471 MB / 1.065 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.6918, allocations: 139.3 kB / 1.065 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.6921, allocations: 375.6 kB / 1.066 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.6932, allocations: 0.8962 MB / 1.066 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6932, allocations: 0 / 1.066 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6932, allocations: 0 / 1.066 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.6932, allocations: 0 / 1.066 GB, free: 3.895 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001424/0.6947, allocations: 1.004 MB / 1.067 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.6947, allocations: 15.98 kB / 1.067 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.6949, allocations: 83.91 kB / 1.068 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.6961, allocations: 0.7489 MB / 1.068 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.6962, allocations: 29 kB / 1.068 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.6962, allocations: 40 kB / 1.068 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.6967, allocations: 318.5 kB / 1.069 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6967, allocations: 3.938 kB / 1.069 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.6968, allocations: 12 kB / 1.069 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.6968, allocations: 8 kB / 1.069 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.6971, allocations: 243.8 kB / 1.069 GB, free: 1.309 MB / 0.8106 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.001797/0.699, allocations: 1.465 MB / 1.07 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.6992, allocations: 150.5 kB / 1.07 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.6993, allocations: 104.8 kB / 1.071 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005642/0.6999, allocations: 0.8155 MB / 1.071 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.6999, allocations: 42.5 kB / 1.071 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.6999, allocations: 0 / 1.071 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0005052/0.7004, allocations: 318.4 kB / 1.072 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.7005, allocations: 51.41 kB / 1.072 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.7012, allocations: 0.7235 MB / 1.072 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.7013, allocations: 29.7 kB / 1.073 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.7015, allocations: 363.7 kB / 1.073 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.7016, allocations: 67 kB / 1.073 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.7016, allocations: 41.7 kB / 1.073 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7017, allocations: 318 kB / 1.073 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.7019, allocations: 104.8 kB / 1.073 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.7022, allocations: 279.9 kB / 1.074 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.7026, allocations: 356 kB / 1.074 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7026, allocations: 0 / 1.074 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006149/0.7033, allocations: 440.4 kB / 1.074 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.7034, allocations: 216.8 kB / 1.075 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7034, allocations: 8 kB / 1.075 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.7034, allocations: 8 kB / 1.075 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005205/0.7086, allocations: 0.6514 MB / 1.075 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00069/0.7094, allocations: 1.203 MB / 1.076 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.7099, allocations: 51.58 kB / 1.076 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.71, allocations: 27.98 kB / 1.076 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.71, allocations: 4 kB / 1.076 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005165/0.7105, allocations: 335.5 kB / 1.077 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7105, allocations: 4 kB / 1.077 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.7105, allocations: 8 kB / 1.077 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005079/0.7156, allocations: 0.6519 MB / 1.077 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006078/0.7162, allocations: 1.195 MB / 1.079 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.7167, allocations: 47.86 kB / 1.079 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.7168, allocations: 23.98 kB / 1.079 GB, free: 6.59 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003254/0.7171, allocations: 276.9 kB / 1.079 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.7172, allocations: 71.06 kB / 1.079 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/0.7179, allocations: 398.4 kB / 1.079 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.7179, allocations: 0 / 1.079 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.7179, allocations: 4.281 kB / 1.079 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7179, allocations: 3.938 kB / 1.079 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.7193, allocations: 1.002 MB / 1.08 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.7193, allocations: 0 / 1.08 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.7194, allocations: 35.97 kB / 1.08 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.7194, allocations: 4 kB / 1.08 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.7194, allocations: 7.984 kB / 1.08 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.7195, allocations: 12.19 kB / 1.08 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7195, allocations: 7.938 kB / 1.08 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.7199, allocations: 466.6 kB / 1.081 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.7202, allocations: 188.1 kB / 1.081 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.7202, allocations: 11.98 kB / 1.081 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.7205, allocations: 15.92 kB / 1.081 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.7206, allocations: 23.92 kB / 1.081 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.7206, allocations: 20 kB / 1.081 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005757/0.7212, allocations: 0.4951 MB / 1.082 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7212, allocations: 0 / 1.082 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001154/0.7224, allocations: 391.4 kB / 1.082 GB, free: 3.043 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0008405/0.7232, allocations: 398.8 kB / 1.082 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01555/0.7388, allocations: 2.155 MB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.7388, allocations: 4 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.7391, allocations: 123.1 kB / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.741, allocations: 280.2 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.743, allocations: 1.348 MB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.7435, allocations: 0.9141 MB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.7436, allocations: 59.42 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.7436, allocations: 0 / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.02133/0.765, allocations: 14.97 MB / 1.102 GB, free: 14.86 MB / 0.8575 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.sim & ./Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches