Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001042/0.001042, allocations: 91.84 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.008466/0.008467, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.344/2.344, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.7033, allocations: 142.4 MB / 0.9551 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.03136/0.7347, allocations: 28.07 MB / 0.9825 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.7454, allocations: 6.779 MB / 0.9891 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.7468, allocations: 29.53 kB / 0.9891 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.7481, allocations: 325.6 kB / 0.9894 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.7523, allocations: 1.202 MB / 0.9906 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.7542, allocations: 0.5709 MB / 0.9912 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003934/0.7582, allocations: 2.745 MB / 0.9938 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.7592, allocations: 472.7 kB / 0.9943 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.761, allocations: 0.731 MB / 0.995 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.762, allocations: 0.5248 MB / 0.9955 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.7622, allocations: 24 kB / 0.9955 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.7644, allocations: 0.9432 MB / 0.9965 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.7646, allocations: 131.4 kB / 0.9966 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.7652, allocations: 379.6 kB / 0.997 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.7673, allocations: 1.223 MB / 0.9981 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7673, allocations: 4 kB / 0.9981 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.256e-06/0.7673, allocations: 0 / 0.9981 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.7674, allocations: 3.938 kB / 0.9982 GB, free: 3.098 MB / 0.7481 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.001676/0.769, allocations: 1.004 MB / 0.9991 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7691, allocations: 8.031 kB / 0.9991 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.7693, allocations: 87.91 kB / 0.9992 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.7707, allocations: 0.7374 MB / 0.9999 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.7708, allocations: 29 kB / 1 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.7708, allocations: 40 kB / 1 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.7714, allocations: 318.5 kB / 1 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.7714, allocations: 3.984 kB / 1 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.7715, allocations: 16 kB / 1 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.7715, allocations: 8 kB / 1 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.7719, allocations: 243.8 kB / 1.001 GB, free: 0.5234 MB / 0.7481 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.002044/0.7739, allocations: 1.469 MB / 1.002 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.7742, allocations: 155.8 kB / 1.002 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.7743, allocations: 105.7 kB / 1.002 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/0.7749, allocations: 0.8194 MB / 1.003 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.775, allocations: 30.56 kB / 1.003 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=19): time 1.864e-06/0.775, allocations: 0 / 1.003 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=19): time 0.0005678/0.7756, allocations: 314.5 kB / 1.003 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.7756, allocations: 51.41 kB / 1.003 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.7765, allocations: 0.7312 MB / 1.004 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.7765, allocations: 33.7 kB / 1.004 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.7768, allocations: 355.7 kB / 1.005 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.7769, allocations: 71 kB / 1.005 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.7769, allocations: 41.7 kB / 1.005 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.777, allocations: 322 kB / 1.005 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.7772, allocations: 96.81 kB / 1.005 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.7775, allocations: 284 kB / 1.005 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.778, allocations: 344 kB / 1.006 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.778, allocations: 11.88 kB / 1.006 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007053/0.7787, allocations: 444.3 kB / 1.006 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.7789, allocations: 216.8 kB / 1.006 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7789, allocations: 8 kB / 1.006 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.7789, allocations: 4 kB / 1.006 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/0.7845, allocations: 0.6476 MB / 1.007 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.7856, allocations: 1.211 MB / 1.008 GB, free: 8.188 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008108/0.7865, allocations: 51.61 kB / 1.008 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.7866, allocations: 19.98 kB / 1.008 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7866, allocations: 4 kB / 1.008 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000625/0.7872, allocations: 335.5 kB / 1.008 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7872, allocations: 8 kB / 1.008 GB, free: 7.777 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7873, allocations: 4 kB / 1.008 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005183/0.7925, allocations: 0.6518 MB / 1.009 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.7932, allocations: 1.203 MB / 1.01 GB, free: 5.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.7937, allocations: 43.86 kB / 1.01 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.7937, allocations: 27.98 kB / 1.01 GB, free: 5.801 MB / 0.7637 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.0003359/0.7941, allocations: 273.4 kB / 1.011 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.7942, allocations: 71.06 kB / 1.011 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.7949, allocations: 397.1 kB / 1.011 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.7949, allocations: 4 kB / 1.011 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7949, allocations: 4 kB / 1.011 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.795, allocations: 3.938 kB / 1.011 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.7963, allocations: 1 MB / 1.012 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7963, allocations: 0 / 1.012 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.7964, allocations: 35.92 kB / 1.012 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7965, allocations: 0 / 1.012 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.7965, allocations: 8 kB / 1.012 GB, free: 3.922 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.7965, allocations: 12.23 kB / 1.012 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7965, allocations: 4 kB / 1.012 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.797, allocations: 463.1 kB / 1.013 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.7973, allocations: 196.3 kB / 1.013 GB, free: 3.203 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.7974, allocations: 7.984 kB / 1.013 GB, free: 3.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.7977, allocations: 15.94 kB / 1.013 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.7977, allocations: 39.83 kB / 1.013 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.7977, allocations: 8 kB / 1.013 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006247/0.7984, allocations: 0.4951 MB / 1.013 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7984, allocations: 0 / 1.013 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001159/0.7995, allocations: 391.4 kB / 1.014 GB, free: 2.262 MB / 0.7637 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.0008159/0.8004, allocations: 393.3 kB / 1.014 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01565/0.816, allocations: 2.167 MB / 1.016 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8161, allocations: 4.062 kB / 1.016 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.8163, allocations: 119.8 kB / 1.016 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.8182, allocations: 271.7 kB / 1.017 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.8203, allocations: 1.319 MB / 1.018 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.8208, allocations: 0.9258 MB / 1.019 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006086/0.8214, allocations: 184.8 kB / 1.019 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.8216, allocations: 59.42 kB / 1.019 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.8216, allocations: 4 kB / 1.019 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.02485/0.8464, allocations: 13.45 MB / 1.032 GB, free: 15.51 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.sim & ./Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches