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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001166/0.001166, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001318/0.001318, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8103, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.0228/0.8331, allocations: 24.21 MB / 0.9772 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009277/0.8424, allocations: 5.818 MB / 0.9829 GB, free: 460 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.8437, allocations: 34.88 kB / 0.9829 GB, free: 444 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.8451, allocations: 391.8 kB / 0.9833 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.8494, allocations: 1.273 MB / 0.9845 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.852, allocations: 0.8874 MB / 0.9854 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002977/0.855, allocations: 1.409 MB / 0.9868 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000851/0.8558, allocations: 446.1 kB / 0.9872 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.8575, allocations: 0.6553 MB / 0.9878 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006336/0.8581, allocations: 379 kB / 0.9882 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.204e-05/0.8582, allocations: 24 kB / 0.9882 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.86, allocations: 0.6981 MB / 0.9889 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.8602, allocations: 123.4 kB / 0.989 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.8604, allocations: 165.3 kB / 0.9892 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.8616, allocations: 0.8182 MB / 0.99 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.8616, allocations: 0 / 0.99 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8616, allocations: 0 / 0.99 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.8616, allocations: 0 / 0.99 GB, free: 10.78 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.001498/0.8631, allocations: 1.004 MB / 0.9909 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.8632, allocations: 8.031 kB / 0.9909 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.8633, allocations: 90.97 kB / 0.991 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.8645, allocations: 0.6717 MB / 0.9917 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.8646, allocations: 29 kB / 0.9917 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.8646, allocations: 39.98 kB / 0.9918 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.8651, allocations: 322.4 kB / 0.9921 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8651, allocations: 0 / 0.9921 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.8652, allocations: 15.95 kB / 0.9921 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.8652, allocations: 8 kB / 0.9921 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.8656, allocations: 235.9 kB / 0.9923 GB, free: 8.273 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.001956/0.8675, allocations: 1.469 MB / 0.9937 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.8678, allocations: 142.5 kB / 0.9939 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006239/0.8684, allocations: 0.8155 MB / 0.9947 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.8684, allocations: 42.84 kB / 0.9947 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.8684, allocations: 0 / 0.9947 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0005252/0.869, allocations: 305.8 kB / 0.995 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.869, allocations: 59.39 kB / 0.9951 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.8699, allocations: 0.7235 MB / 0.9958 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8699, allocations: 29.7 kB / 0.9958 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.8702, allocations: 359.6 kB / 0.9961 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.8703, allocations: 71.03 kB / 0.9962 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.8703, allocations: 8 kB / 0.9962 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8704, allocations: 326 kB / 0.9965 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.8706, allocations: 96.81 kB / 0.9966 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.8709, allocations: 272 kB / 0.9969 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.8711, allocations: 143.8 kB / 0.997 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8712, allocations: 0 / 0.997 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006524/0.8718, allocations: 440.2 kB / 0.9974 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006772/0.8725, allocations: 1.663 MB / 0.9991 GB, free: 0.7773 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8725, allocations: 4 kB / 0.9991 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.8725, allocations: 4 kB / 0.9991 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004905/0.8775, allocations: 0.6592 MB / 0.9997 GB, free: 112 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/0.8783, allocations: 1.203 MB / 1.001 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.8788, allocations: 55.77 kB / 1.001 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.8789, allocations: 23.98 kB / 1.001 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.8789, allocations: 4 kB / 1.001 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005258/0.8795, allocations: 340 kB / 1.001 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8795, allocations: 8.094 kB / 1.001 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8795, allocations: 8 kB / 1.001 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/0.8842, allocations: 0.6436 MB / 1.002 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/0.885, allocations: 1.203 MB / 1.003 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.8856, allocations: 47.66 kB / 1.003 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.8857, allocations: 16 kB / 1.003 GB, free: 12.47 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.8861, allocations: 277.1 kB / 1.003 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.8862, allocations: 79.02 kB / 1.004 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/0.887, allocations: 387.2 kB / 1.004 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.887, allocations: 4 kB / 1.004 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.887, allocations: 0 / 1.004 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.887, allocations: 4 kB / 1.004 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.8885, allocations: 1.01 MB / 1.005 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8885, allocations: 256 / 1.005 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.8886, allocations: 40.2 kB / 1.005 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.8886, allocations: 4 kB / 1.005 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.8886, allocations: 8 kB / 1.005 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.8887, allocations: 7.938 kB / 1.005 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8887, allocations: 7.984 kB / 1.005 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.8892, allocations: 0.5471 MB / 1.005 GB, free: 9.93 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.8895, allocations: 196 kB / 1.006 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.8896, allocations: 8 kB / 1.006 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.8899, allocations: 23.89 kB / 1.006 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.89, allocations: 15.94 kB / 1.006 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.89, allocations: 19.98 kB / 1.006 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006415/0.8907, allocations: 0.4951 MB / 1.006 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8907, allocations: 0 / 1.006 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001236/0.8919, allocations: 387.5 kB / 1.007 GB, free: 8.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000956/0.8929, allocations: 387.2 kB / 1.007 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01414/0.907, allocations: 2.163 MB / 1.009 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.9071, allocations: 0 / 1.009 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.9073, allocations: 115.8 kB / 1.009 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.909, allocations: 280.8 kB / 1.009 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.911, allocations: 1.271 MB / 1.011 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.9115, allocations: 0.945 MB / 1.012 GB, free: 3.562 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006411/0.9121, allocations: 179.7 kB / 1.012 GB, free: 3.395 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.9123, allocations: 59.42 kB / 1.012 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of SimCode: time 7.61e-07/0.9123, allocations: 0 / 1.012 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of Templates: time 0.02239/0.9347, allocations: 13.21 MB / 1.025 GB, free: 6.324 MB / 0.7794 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","../files/Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches