Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.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_11_Buildings.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.001541/0.001541, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001512/0.001512, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.598/2.598, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 68.53 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2924, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.4976/0.7901, allocations: 28.71 MB / 1.092 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008529/0.7986, allocations: 6.764 MB / 1.099 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.8002, allocations: 32.06 kB / 1.099 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.8013, allocations: 340.5 kB / 1.099 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.8052, allocations: 1.224 MB / 1.1 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.8072, allocations: 0.5699 MB / 1.101 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.8107, allocations: 2.152 MB / 1.103 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.8116, allocations: 0.5282 MB / 1.103 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.8134, allocations: 0.8183 MB / 1.104 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008849/0.8143, allocations: 0.5455 MB / 1.105 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.8145, allocations: 41.78 kB / 1.105 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.8169, allocations: 0.9916 MB / 1.106 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.8171, allocations: 157 kB / 1.106 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005637/0.8177, allocations: 374.8 kB / 1.106 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.8193, allocations: 0.8782 MB / 1.107 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8193, allocations: 0 / 1.107 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8194, allocations: 4 kB / 1.107 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.8194, allocations: 0 / 1.107 GB, free: 15.32 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.002002/0.8214, allocations: 1.141 MB / 1.108 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.8214, allocations: 9.219 kB / 1.108 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.8216, allocations: 87.41 kB / 1.108 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.8231, allocations: 0.7255 MB / 1.109 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.8232, allocations: 29.75 kB / 1.109 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.8232, allocations: 37.81 kB / 1.109 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.8239, allocations: 320 kB / 1.109 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.8239, allocations: 5.344 kB / 1.109 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.8239, allocations: 15.05 kB / 1.11 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.8239, allocations: 8.406 kB / 1.11 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.8244, allocations: 239.5 kB / 1.11 GB, free: 13.73 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.002301/0.8267, allocations: 1.461 MB / 1.111 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.8269, allocations: 144.6 kB / 1.111 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.8271, allocations: 104.4 kB / 1.111 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000715/0.8278, allocations: 0.8268 MB / 1.112 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.8279, allocations: 31.91 kB / 1.112 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.973e-06/0.8279, allocations: 4 kB / 1.112 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0006791/0.8286, allocations: 313 kB / 1.113 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.8286, allocations: 54.69 kB / 1.113 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.8297, allocations: 0.7211 MB / 1.113 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.8297, allocations: 32.2 kB / 1.113 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.83, allocations: 362.6 kB / 1.114 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.8301, allocations: 71.97 kB / 1.114 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.8303, allocations: 95.23 kB / 1.114 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8304, allocations: 327.7 kB / 1.114 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.8306, allocations: 108.3 kB / 1.114 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.831, allocations: 278 kB / 1.115 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.8315, allocations: 343.8 kB / 1.115 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.8315, allocations: 2.734 kB / 1.115 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007633/0.8323, allocations: 445 kB / 1.115 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.8323, allocations: 14.53 kB / 1.115 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.8323, allocations: 8.531 kB / 1.115 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.8324, allocations: 11.58 kB / 1.115 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005005/0.8374, allocations: 0.6733 MB / 1.116 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000866/0.8383, allocations: 1.205 MB / 1.117 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/0.839, allocations: 59.39 kB / 1.117 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.839, allocations: 25.11 kB / 1.117 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004027/0.8394, allocations: 245.3 kB / 1.117 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003587/0.8398, allocations: 280.2 kB / 1.118 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004407/0.8403, allocations: 356.1 kB / 1.118 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.8403, allocations: 1.281 kB / 1.118 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007654/0.841, allocations: 437.4 kB / 1.118 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8411, allocations: 6.656 kB / 1.118 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8411, allocations: 4.438 kB / 1.118 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.8411, allocations: 8.594 kB / 1.119 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/0.8459, allocations: 0.6764 MB / 1.119 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008324/0.8468, allocations: 1.205 MB / 1.12 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.8475, allocations: 42.03 kB / 1.12 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.8475, allocations: 23.89 kB / 1.12 GB, free: 6.277 MB / 0.8575 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.0002294/0.8478, allocations: 216.2 kB / 1.121 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.8479, allocations: 73.44 kB / 1.121 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007043/0.8486, allocations: 394.8 kB / 1.121 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.8486, allocations: 6.172 kB / 1.121 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8486, allocations: 1.344 kB / 1.121 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.8486, allocations: 5.531 kB / 1.121 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.8501, allocations: 0.9978 MB / 1.122 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8501, allocations: 1.375 kB / 1.122 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.8502, allocations: 36.8 kB / 1.122 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.8502, allocations: 3.875 kB / 1.122 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.8502, allocations: 4.266 kB / 1.122 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8502, allocations: 4.5 kB / 1.122 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.8503, allocations: 2.625 kB / 1.122 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.8508, allocations: 468.2 kB / 1.123 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.851, allocations: 167.3 kB / 1.123 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.8511, allocations: 11.86 kB / 1.123 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.8514, allocations: 16.16 kB / 1.123 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.8515, allocations: 22.88 kB / 1.123 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.8515, allocations: 13.98 kB / 1.123 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006354/0.8521, allocations: 0.4981 MB / 1.123 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8521, allocations: 3.938 kB / 1.123 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001269/0.8534, allocations: 384.8 kB / 1.124 GB, free: 4.438 MB / 0.8575 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.0008083/0.8542, allocations: 383.2 kB / 1.124 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01493/0.8692, allocations: 2.246 MB / 1.126 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.8692, allocations: 0.75 kB / 1.126 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.8695, allocations: 125.2 kB / 1.126 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.8711, allocations: 284.5 kB / 1.127 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.8729, allocations: 1.333 MB / 1.128 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.8735, allocations: 0.9174 MB / 1.129 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.8737, allocations: 58.03 kB / 1.129 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/0.8737, allocations: 4 kB / 1.129 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of Templates: time 0.02451/0.8982, allocations: 14.66 MB / 1.143 GB, free: 13.7 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches