Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Networks_Pipes_Validation_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Networks_Pipes_Validation_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008106, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005492/0.005492, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.392/2.392, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002817, allocations: 11.97 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe): time 0.02566/0.2625, allocations: 28.08 MB / 1.086 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008076/0.2706, allocations: 6.757 MB / 1.093 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/0.2714, allocations: 35.75 kB / 1.093 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008064/0.2722, allocations: 322 kB / 1.093 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.2748, allocations: 1.197 MB / 1.094 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2762, allocations: 0.5761 MB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002876/0.2791, allocations: 2.75 MB / 1.098 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000689/0.2798, allocations: 472.7 kB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.281, allocations: 0.731 MB / 1.099 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.2817, allocations: 0.5287 MB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.2818, allocations: 24 kB / 1.099 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2833, allocations: 0.9393 MB / 1.1 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.2835, allocations: 131.3 kB / 1.1 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.2838, allocations: 379.6 kB / 1.101 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.2853, allocations: 1.203 MB / 1.102 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2853, allocations: 0 / 1.102 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2853, allocations: 0 / 1.102 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.2853, allocations: 0 / 1.102 GB, free: 8.641 MB / 0.8575 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.001353/0.2866, allocations: 1.004 MB / 1.103 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2867, allocations: 15.97 kB / 1.103 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.2868, allocations: 66.72 kB / 1.103 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.2869, allocations: 91.91 kB / 1.103 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.2881, allocations: 0.745 MB / 1.104 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.2882, allocations: 32.98 kB / 1.104 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.2882, allocations: 36 kB / 1.104 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.2887, allocations: 318.5 kB / 1.104 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2887, allocations: 0 / 1.104 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.2888, allocations: 20 kB / 1.104 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.2888, allocations: 11.94 kB / 1.104 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.2891, allocations: 239.8 kB / 1.104 GB, free: 5.969 MB / 0.8575 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.001719/0.2909, allocations: 1.461 MB / 1.106 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2911, allocations: 146.5 kB / 1.106 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2912, allocations: 104.8 kB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.2918, allocations: 0.8155 MB / 1.107 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2918, allocations: 38.44 kB / 1.107 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.2918, allocations: 4 kB / 1.107 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0004745/0.2923, allocations: 310.3 kB / 1.107 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2923, allocations: 55.41 kB / 1.107 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007615/0.2931, allocations: 0.7157 MB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2931, allocations: 33.7 kB / 1.108 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2934, allocations: 359.6 kB / 1.108 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.2934, allocations: 75.03 kB / 1.108 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.2935, allocations: 37.7 kB / 1.108 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.2936, allocations: 322 kB / 1.109 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2938, allocations: 104.8 kB / 1.109 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.294, allocations: 287.7 kB / 1.109 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.2944, allocations: 352 kB / 1.109 GB, free: 288 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2944, allocations: 0 / 1.109 GB, free: 288 kB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006425/0.2951, allocations: 436.7 kB / 1.11 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.2952, allocations: 224.6 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2952, allocations: 4 kB / 1.11 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2953, allocations: 8 kB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004907/0.3002, allocations: 0.6475 MB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006371/0.3008, allocations: 1.211 MB / 1.112 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.3012, allocations: 51.77 kB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.3013, allocations: 27.98 kB / 1.112 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.3013, allocations: 4 kB / 1.112 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004793/0.3018, allocations: 331.7 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3018, allocations: 8.094 kB / 1.112 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.3018, allocations: 8 kB / 1.112 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/0.3065, allocations: 0.6437 MB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006024/0.3071, allocations: 1.203 MB / 1.114 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.3075, allocations: 43.77 kB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.3075, allocations: 27.92 kB / 1.114 GB, free: 11.26 MB / 0.8731 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.0002217/0.3078, allocations: 269.1 kB / 1.114 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.3079, allocations: 75.34 kB / 1.114 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005597/0.3084, allocations: 404.7 kB / 1.115 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.3084, allocations: 0 / 1.115 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3084, allocations: 4 kB / 1.115 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3085, allocations: 7.938 kB / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3096, allocations: 0.9975 MB / 1.116 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3096, allocations: 4.25 kB / 1.116 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.3097, allocations: 31.98 kB / 1.116 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3097, allocations: 4 kB / 1.116 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3097, allocations: 8 kB / 1.116 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3097, allocations: 7.938 kB / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3097, allocations: 0 / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.3102, allocations: 465.2 kB / 1.116 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.3104, allocations: 196 kB / 1.117 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.3104, allocations: 4 kB / 1.117 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.3107, allocations: 19.98 kB / 1.117 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.3108, allocations: 19.92 kB / 1.117 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3108, allocations: 11.98 kB / 1.117 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005618/0.3113, allocations: 0.499 MB / 1.117 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3113, allocations: 0 / 1.117 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009097/0.3123, allocations: 391.4 kB / 1.117 GB, free: 7.723 MB / 0.8731 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.001194/0.3135, allocations: 1.27 MB / 1.119 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01423/0.3277, allocations: 2.155 MB / 1.121 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3277, allocations: 4 kB / 1.121 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.3279, allocations: 122.7 kB / 1.121 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.3293, allocations: 274.4 kB / 1.121 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.3352, allocations: 5.382 MB / 1.126 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3356, allocations: 0.9258 MB / 1.127 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004988/0.3361, allocations: 181.3 kB / 1.127 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.3364, allocations: 247.3 kB / 1.128 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/0.3364, allocations: 0 / 1.128 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.3707, allocations: 19.64 MB / 1.147 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.371, allocations: 288.7 kB / 1.147 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.59, allocations: 0 / 1.147 GB, free: 9.215 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Networks_Pipes_Validation_Pipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Networks_Pipes_Validation_Pipe.fmu > Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches