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.00105/0.001054, allocations: 91.84 kB / 16.02 MB, free: 80 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.00137/0.00137, allocations: 184.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.405/1.405, 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 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.667 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005315, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8421, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.029/0.8712, allocations: 28.08 MB / 0.9831 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.8823, allocations: 6.765 MB / 0.9898 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.8839, allocations: 29.47 kB / 0.9898 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.8851, allocations: 333.8 kB / 0.9901 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.8894, allocations: 1.204 MB / 0.9913 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.8913, allocations: 0.5629 MB / 0.9918 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.8955, allocations: 2.75 MB / 0.9945 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008084/0.8963, allocations: 456.8 kB / 0.9949 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.898, allocations: 0.7349 MB / 0.9957 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.8988, allocations: 0.5248 MB / 0.9962 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.8989, allocations: 28 kB / 0.9962 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.9012, allocations: 0.9432 MB / 0.9971 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.9014, allocations: 131.4 kB / 0.9972 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.9018, allocations: 383.6 kB / 0.9976 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.9032, allocations: 0.8961 MB / 0.9985 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.9032, allocations: 4 kB / 0.9985 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9032, allocations: 0 / 0.9985 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.9032, allocations: 0 / 0.9985 GB, free: 3.449 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.001553/0.9048, allocations: 1 MB / 0.9995 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9049, allocations: 8.031 kB / 0.9995 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.905, allocations: 87.91 kB / 0.9996 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.9063, allocations: 0.7414 MB / 1 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.9064, allocations: 29 kB / 1 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.9064, allocations: 40 kB / 1 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.907, allocations: 314.5 kB / 1.001 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.907, allocations: 7.922 kB / 1.001 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.907, allocations: 16 kB / 1.001 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.9071, allocations: 8 kB / 1.001 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.9075, allocations: 247.8 kB / 1.001 GB, free: 0.8711 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.001929/0.9094, allocations: 1.465 MB / 1.002 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.9096, allocations: 147.5 kB / 1.002 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.9098, allocations: 104.8 kB / 1.003 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/0.9104, allocations: 0.8194 MB / 1.003 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.9104, allocations: 38.5 kB / 1.003 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.9104, allocations: 0 / 1.003 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of matching and sorting (n=19): time 0.0005215/0.911, allocations: 314.6 kB / 1.004 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.911, allocations: 51.41 kB / 1.004 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/0.9118, allocations: 0.7273 MB / 1.004 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.9118, allocations: 33.7 kB / 1.005 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.9121, allocations: 359.7 kB / 1.005 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.9122, allocations: 67 kB / 1.005 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.9122, allocations: 45.7 kB / 1.005 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.9123, allocations: 322 kB / 1.005 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.9125, allocations: 96.81 kB / 1.005 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.9128, allocations: 280 kB / 1.006 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.9132, allocations: 351.9 kB / 1.006 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9132, allocations: 4 kB / 1.006 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006268/0.9138, allocations: 440.7 kB / 1.006 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.914, allocations: 224.4 kB / 1.007 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.914, allocations: 4 kB / 1.007 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.914, allocations: 4 kB / 1.007 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004998/0.919, allocations: 0.6514 MB / 1.007 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000715/0.9198, allocations: 1.211 MB / 1.008 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.9203, allocations: 49.11 kB / 1.008 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.9204, allocations: 27.98 kB / 1.009 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.9204, allocations: 4 kB / 1.009 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005187/0.9209, allocations: 331.4 kB / 1.009 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9209, allocations: 8 kB / 1.009 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.9209, allocations: 4.438 kB / 1.009 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00482/0.9258, allocations: 0.6476 MB / 1.009 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006327/0.9264, allocations: 1.207 MB / 1.011 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.9269, allocations: 43.67 kB / 1.011 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.9269, allocations: 27.98 kB / 1.011 GB, free: 6.152 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.0003634/0.9273, allocations: 277.4 kB / 1.011 GB, free: 5.871 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.9274, allocations: 71.16 kB / 1.011 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.928, allocations: 394.1 kB / 1.011 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.928, allocations: 4 kB / 1.011 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9281, allocations: 0 / 1.011 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.9281, allocations: 3.938 kB / 1.011 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.9293, allocations: 0.9964 MB / 1.012 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.9294, allocations: 0 / 1.012 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.9295, allocations: 35.92 kB / 1.012 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9295, allocations: 4.25 kB / 1.012 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.9295, allocations: 15.92 kB / 1.012 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9295, allocations: 7.938 kB / 1.012 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9295, allocations: 7.938 kB / 1.012 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.93, allocations: 460.1 kB / 1.013 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.9302, allocations: 192.1 kB / 1.013 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.9303, allocations: 8 kB / 1.013 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.9305, allocations: 19.92 kB / 1.013 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.9306, allocations: 27.86 kB / 1.013 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.9306, allocations: 8 kB / 1.013 GB, free: 3.496 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005772/0.9312, allocations: 0.499 MB / 1.014 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9312, allocations: 0 / 1.014 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00115/0.9324, allocations: 391.4 kB / 1.014 GB, free: 2.621 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.0007867/0.9332, allocations: 395.3 kB / 1.014 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01467/0.9478, allocations: 2.158 MB / 1.017 GB, free: 76 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9479, allocations: 0 / 1.017 GB, free: 76 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.9482, allocations: 123.8 kB / 1.017 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.95, allocations: 276.9 kB / 1.017 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.9519, allocations: 1.346 MB / 1.018 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.9524, allocations: 0.9219 MB / 1.019 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.9525, allocations: 55.44 kB / 1.019 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of SimCode: time 7.02e-07/0.9525, allocations: 0 / 1.019 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.02032/0.9729, allocations: 14.98 MB / 1.034 GB, free: 14.43 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/jenkins1/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