Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001519/0.001518, allocations: 100.9 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.001611/0.001612, 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.599/1.599, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004064, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9932/0.9937, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.02624/1.02, allocations: 24.22 MB / 1.044 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01025/1.03, allocations: 5.813 MB / 1.05 GB, free: 2.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/1.032, allocations: 43.69 kB / 1.05 GB, free: 2.945 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/1.033, allocations: 386.1 kB / 1.051 GB, free: 2.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/1.038, allocations: 1.278 MB / 1.052 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/1.041, allocations: 0.8856 MB / 1.053 GB, free: 428 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003052/1.044, allocations: 1.409 MB / 1.054 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/1.045, allocations: 449.3 kB / 1.054 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/1.046, allocations: 0.6539 MB / 1.055 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/1.047, allocations: 374.3 kB / 1.055 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/1.047, allocations: 24 kB / 1.056 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/1.049, allocations: 0.702 MB / 1.056 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/1.049, allocations: 127.4 kB / 1.056 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/1.049, allocations: 161.3 kB / 1.056 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/1.05, allocations: 0.8144 MB / 1.057 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/1.05, allocations: 0 / 1.057 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.038e-06/1.05, allocations: 0 / 1.057 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.05, allocations: 3.938 kB / 1.057 GB, free: 11.7 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.001529/1.052, allocations: 0.9962 MB / 1.058 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.052, allocations: 8.031 kB / 1.058 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/1.052, allocations: 90.97 kB / 1.058 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.053, allocations: 0.6756 MB / 1.059 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/1.053, allocations: 28.95 kB / 1.059 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/1.053, allocations: 36 kB / 1.059 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/1.054, allocations: 318.4 kB / 1.059 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.054, allocations: 0 / 1.059 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/1.054, allocations: 16 kB / 1.059 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/1.054, allocations: 8 kB / 1.059 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/1.054, allocations: 235.9 kB / 1.06 GB, free: 9.207 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.001989/1.056, allocations: 1.473 MB / 1.061 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/1.057, allocations: 149.2 kB / 1.061 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/1.057, allocations: 0.8155 MB / 1.062 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/1.057, allocations: 34.56 kB / 1.062 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/1.057, allocations: 3.938 kB / 1.062 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0005322/1.058, allocations: 306.8 kB / 1.062 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/1.058, allocations: 55.41 kB / 1.062 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/1.059, allocations: 0.7235 MB / 1.063 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/1.059, allocations: 29.7 kB / 1.063 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/1.059, allocations: 367.6 kB / 1.063 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/1.059, allocations: 63.05 kB / 1.064 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/1.059, allocations: 8 kB / 1.064 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.059, allocations: 330 kB / 1.064 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/1.059, allocations: 96.77 kB / 1.064 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/1.06, allocations: 273.6 kB / 1.064 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/1.06, allocations: 155.9 kB / 1.064 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.06, allocations: 0 / 1.064 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006268/1.061, allocations: 432.7 kB / 1.065 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007395/1.061, allocations: 1.655 MB / 1.066 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.061, allocations: 4 kB / 1.066 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.061, allocations: 8 kB / 1.066 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/1.066, allocations: 0.6514 MB / 1.067 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007892/1.067, allocations: 1.219 MB / 1.068 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/1.068, allocations: 47.58 kB / 1.068 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/1.068, allocations: 20 kB / 1.068 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.068, allocations: 9.812 kB / 1.068 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005243/1.068, allocations: 339.4 kB / 1.069 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.068, allocations: 4 kB / 1.069 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/1.068, allocations: 8 kB / 1.069 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.073, allocations: 0.6479 MB / 1.069 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006535/1.073, allocations: 1.199 MB / 1.07 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/1.074, allocations: 47.86 kB / 1.07 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/1.074, allocations: 23.94 kB / 1.07 GB, free: 13.39 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 (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.0004186/1.074, allocations: 276.8 kB / 1.071 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.075, allocations: 71.06 kB / 1.071 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/1.075, allocations: 394.5 kB / 1.071 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/1.075, allocations: 8.266 kB / 1.071 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.075, allocations: 0 / 1.071 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.075, allocations: 0 / 1.071 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.077, allocations: 1.013 MB / 1.072 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.077, allocations: 0 / 1.072 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/1.077, allocations: 27.98 kB / 1.072 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.077, allocations: 7.984 kB / 1.072 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.077, allocations: 8 kB / 1.072 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/1.077, allocations: 7.938 kB / 1.072 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.077, allocations: 4.25 kB / 1.072 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/1.077, allocations: 0.5423 MB / 1.073 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.078, allocations: 204 kB / 1.073 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/1.078, allocations: 11.95 kB / 1.073 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/1.078, allocations: 15.89 kB / 1.073 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/1.078, allocations: 19.97 kB / 1.073 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/1.078, allocations: 12 kB / 1.073 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005827/1.079, allocations: 0.499 MB / 1.074 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.079, allocations: 0 / 1.074 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001184/1.08, allocations: 391.5 kB / 1.074 GB, free: 9.703 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 (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.00094/1.081, allocations: 400.5 kB / 1.074 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.095, allocations: 2.153 MB / 1.076 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.095, allocations: 0 / 1.076 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/1.095, allocations: 120.9 kB / 1.076 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/1.097, allocations: 284.5 kB / 1.077 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/1.1, allocations: 1.265 MB / 1.078 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/1.101, allocations: 0.9375 MB / 1.079 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000811/1.102, allocations: 178.8 kB / 1.079 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/1.102, allocations: 59.38 kB / 1.079 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of SimCode: time 1.432e-06/1.102, allocations: 0 / 1.079 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of Templates: time 0.02741/1.129, allocations: 13.21 MB / 1.092 GB, free: 7.25 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.sim & ./Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches