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.001263/0.001263, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001691/0.001691, allocations: 172.7 kB / 15.95 MB, free: 208 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.65/1.65, allocations: 223.3 MB / 240 MB, free: 5.273 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.883/2.883, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004016, allocations: 8 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9475, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.02821/0.9758, allocations: 26.6 MB / 1.048 GB, free: 5.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.9861, allocations: 6.354 MB / 1.055 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.9876, allocations: 35.75 kB / 1.055 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.9888, allocations: 290 kB / 1.055 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.9929, allocations: 1.077 MB / 1.056 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.9948, allocations: 0.5219 MB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003882/0.9987, allocations: 2.398 MB / 1.059 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008515/0.9996, allocations: 431.2 kB / 1.059 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/1.001, allocations: 0.7038 MB / 1.06 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007297/1.002, allocations: 0.4938 MB / 1.06 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/1.002, allocations: 24 kB / 1.06 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/1.004, allocations: 0.8068 MB / 1.061 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/1.004, allocations: 127.4 kB / 1.061 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/1.005, allocations: 161.3 kB / 1.061 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/1.006, allocations: 0.8612 MB / 1.062 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.006, allocations: 0 / 1.062 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.294e-06/1.006, allocations: 0 / 1.062 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.727e-06/1.006, allocations: 0 / 1.062 GB, free: 7.047 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.001527/1.007, allocations: 1.012 MB / 1.063 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.007, allocations: 19.98 kB / 1.063 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/1.008, allocations: 82.97 kB / 1.063 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/1.009, allocations: 0.703 MB / 1.064 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/1.009, allocations: 32.95 kB / 1.064 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/1.009, allocations: 36 kB / 1.064 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/1.009, allocations: 326.4 kB / 1.064 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.009, allocations: 0 / 1.064 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/1.01, allocations: 12 kB / 1.064 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/1.01, allocations: 11.98 kB / 1.064 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/1.01, allocations: 235.9 kB / 1.065 GB, free: 4.492 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.001961/1.012, allocations: 1.469 MB / 1.066 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/1.012, allocations: 144.9 kB / 1.066 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/1.012, allocations: 108.7 kB / 1.066 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/1.013, allocations: 0.8233 MB / 1.067 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/1.013, allocations: 38.5 kB / 1.067 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/1.013, allocations: 0 / 1.067 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0005389/1.013, allocations: 302.3 kB / 1.068 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/1.014, allocations: 59.39 kB / 1.068 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/1.014, allocations: 0.7079 MB / 1.068 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/1.014, allocations: 29.7 kB / 1.068 GB, free: 468 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/1.015, allocations: 363.6 kB / 1.069 GB, free: 100 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/1.015, allocations: 75.03 kB / 1.069 GB, free: 24 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/1.015, allocations: 8 kB / 1.069 GB, free: 16 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.015, allocations: 325.9 kB / 1.069 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/1.015, allocations: 104.8 kB / 1.069 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/1.015, allocations: 268 kB / 1.069 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/1.016, allocations: 143.9 kB / 1.07 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.016, allocations: 0 / 1.07 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006224/1.016, allocations: 440.1 kB / 1.07 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/1.016, allocations: 217 kB / 1.07 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.016, allocations: 4 kB / 1.07 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.017, allocations: 19.98 kB / 1.07 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/1.021, allocations: 0.6475 MB / 1.071 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008115/1.022, allocations: 1.203 MB / 1.072 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/1.023, allocations: 51.58 kB / 1.072 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/1.023, allocations: 27.98 kB / 1.072 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.023, allocations: 4 kB / 1.072 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005894/1.023, allocations: 331.5 kB / 1.072 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.023, allocations: 4 kB / 1.072 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.023, allocations: 8 kB / 1.072 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/1.028, allocations: 0.6518 MB / 1.073 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007273/1.029, allocations: 1.199 MB / 1.074 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/1.029, allocations: 47.86 kB / 1.074 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/1.029, allocations: 27.98 kB / 1.074 GB, free: 10.09 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.0004302/1.03, allocations: 272.8 kB / 1.075 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.03, allocations: 71.14 kB / 1.075 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/1.031, allocations: 395.1 kB / 1.075 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.031, allocations: 0 / 1.075 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.031, allocations: 0 / 1.075 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.031, allocations: 0 / 1.075 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.032, allocations: 1.014 MB / 1.076 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.032, allocations: 0 / 1.076 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/1.032, allocations: 31.98 kB / 1.076 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.032, allocations: 0 / 1.076 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/1.032, allocations: 11.98 kB / 1.076 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.032, allocations: 7.938 kB / 1.076 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.032, allocations: 4 kB / 1.076 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/1.033, allocations: 474.5 kB / 1.076 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/1.033, allocations: 192.1 kB / 1.077 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/1.033, allocations: 8 kB / 1.077 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/1.033, allocations: 15.92 kB / 1.077 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/1.033, allocations: 19.94 kB / 1.077 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/1.033, allocations: 12 kB / 1.077 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005728/1.034, allocations: 0.4989 MB / 1.077 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/1.034, allocations: 3.938 kB / 1.077 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001151/1.035, allocations: 383.4 kB / 1.078 GB, free: 6.57 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.0007617/1.036, allocations: 396.1 kB / 1.078 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.049, allocations: 2.148 MB / 1.08 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.049, allocations: 4.812 kB / 1.08 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/1.049, allocations: 124.9 kB / 1.08 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.051, allocations: 282.5 kB / 1.08 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/1.054, allocations: 1.257 MB / 1.082 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/1.054, allocations: 0.9258 MB / 1.083 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006962/1.055, allocations: 187.8 kB / 1.083 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/1.055, allocations: 55.42 kB / 1.083 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of SimCode: time 3.557e-06/1.055, allocations: 0 / 1.083 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of Templates: time 0.02693/1.082, allocations: 13.14 MB / 1.096 GB, free: 4.195 MB / 0.8419 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/jenkins/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