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: translateModel(Buildings.Experimental.DHC.Networks.Pipes.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.Pipes.Validation.Pipe") translateModel(Buildings.Experimental.DHC.Networks.Pipes.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.Pipes.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009957/0.0009956, allocations: 91.92 kB / 16.02 MB, free: 76 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.001104/0.001104, allocations: 182.2 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 8.688 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3148, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe): time 0.02729/0.3422, allocations: 28.08 MB / 1.087 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009498/0.3517, allocations: 6.755 MB / 1.093 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.3531, allocations: 31.75 kB / 1.093 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3544, allocations: 326 kB / 1.094 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.358, allocations: 1.205 MB / 1.095 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3599, allocations: 0.563 MB / 1.095 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003489/0.3634, allocations: 2.744 MB / 1.098 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007703/0.3642, allocations: 472.7 kB / 1.099 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3657, allocations: 0.731 MB / 1.099 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007502/0.3665, allocations: 0.5287 MB / 1.1 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.3666, allocations: 20 kB / 1.1 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.3685, allocations: 0.9432 MB / 1.101 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3686, allocations: 131.3 kB / 1.101 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.3691, allocations: 383.6 kB / 1.101 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.3703, allocations: 0.8768 MB / 1.102 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3703, allocations: 0 / 1.102 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3703, allocations: 0 / 1.102 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3703, allocations: 0 / 1.102 GB, free: 9.039 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.001422/0.3717, allocations: 1.008 MB / 1.103 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3718, allocations: 15.97 kB / 1.103 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3719, allocations: 87.91 kB / 1.103 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.3731, allocations: 0.7297 MB / 1.104 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.3732, allocations: 33 kB / 1.104 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.3732, allocations: 36 kB / 1.104 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.3738, allocations: 326.4 kB / 1.104 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3738, allocations: 0 / 1.104 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3738, allocations: 12 kB / 1.104 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3738, allocations: 8 kB / 1.104 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.3742, allocations: 243.8 kB / 1.104 GB, free: 6.457 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.001753/0.376, allocations: 1.465 MB / 1.106 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.3762, allocations: 146.5 kB / 1.106 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3763, allocations: 109.7 kB / 1.106 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.3769, allocations: 0.8233 MB / 1.107 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3769, allocations: 30.56 kB / 1.107 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.3769, allocations: 0 / 1.107 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0005077/0.3774, allocations: 314.2 kB / 1.107 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3775, allocations: 55.41 kB / 1.107 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.3783, allocations: 0.7234 MB / 1.108 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.3783, allocations: 29.7 kB / 1.108 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.3786, allocations: 363.6 kB / 1.108 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.3787, allocations: 71.05 kB / 1.108 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3787, allocations: 49.62 kB / 1.109 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.3788, allocations: 322 kB / 1.109 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.379, allocations: 100.8 kB / 1.109 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.3793, allocations: 275.8 kB / 1.109 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.3797, allocations: 348 kB / 1.11 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3797, allocations: 0 / 1.11 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006367/0.3803, allocations: 444.2 kB / 1.11 GB, free: 332 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.3805, allocations: 216.8 kB / 1.11 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3805, allocations: 4 kB / 1.11 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3805, allocations: 8.141 kB / 1.11 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005257/0.3858, allocations: 0.6553 MB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006982/0.3865, allocations: 1.203 MB / 1.112 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.3871, allocations: 55.75 kB / 1.112 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.3871, allocations: 20 kB / 1.112 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3871, allocations: 5.562 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005316/0.3877, allocations: 339.5 kB / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3877, allocations: 7.984 kB / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.3877, allocations: 4 kB / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/0.3928, allocations: 0.6478 MB / 1.113 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007942/0.3936, allocations: 1.203 MB / 1.114 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.3942, allocations: 39.67 kB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.3943, allocations: 24.19 kB / 1.114 GB, free: 11.75 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.0003694/0.3946, allocations: 276.9 kB / 1.115 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.3948, allocations: 79 kB / 1.115 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.3954, allocations: 385 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.3954, allocations: 4 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3954, allocations: 0 / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3954, allocations: 7.922 kB / 1.115 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3966, allocations: 1.001 MB / 1.116 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3967, allocations: 4 kB / 1.116 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.3968, allocations: 27.98 kB / 1.116 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3968, allocations: 0 / 1.116 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3968, allocations: 23.92 kB / 1.116 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3968, allocations: 0 / 1.116 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3968, allocations: 4 kB / 1.116 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.3973, allocations: 465.4 kB / 1.116 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.3975, allocations: 196 kB / 1.117 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.3976, allocations: 11.98 kB / 1.117 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.3978, allocations: 16 kB / 1.117 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.3979, allocations: 27.91 kB / 1.117 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.3979, allocations: 8 kB / 1.117 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005502/0.3985, allocations: 0.5029 MB / 1.117 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3985, allocations: 0 / 1.117 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001096/0.3996, allocations: 383.4 kB / 1.118 GB, free: 8.207 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.0007014/0.4003, allocations: 400.6 kB / 1.118 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01528/0.4156, allocations: 2.159 MB / 1.12 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.4156, allocations: 4 kB / 1.12 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4158, allocations: 115.8 kB / 1.12 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.4177, allocations: 275.7 kB / 1.12 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.4193, allocations: 1.342 MB / 1.122 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.4198, allocations: 0.918 MB / 1.123 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4199, allocations: 59.42 kB / 1.123 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/0.4199, allocations: 3.938 kB / 1.123 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of Templates: time 0.01946/0.4394, allocations: 14.77 MB / 1.137 GB, free: 4.188 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.makefile (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 & ./Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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