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.001222/0.001221, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001729/0.001729, allocations: 168.7 kB / 15.95 MB, free: 204 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.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.998/2.998, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 9.188 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4219, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe): time 0.02732/0.4492, allocations: 26.59 MB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.46, allocations: 6.361 MB / 1.09 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.4615, allocations: 31.75 kB / 1.09 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.4626, allocations: 286 kB / 1.091 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.4665, allocations: 1.08 MB / 1.092 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.4687, allocations: 0.5135 MB / 1.092 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004078/0.4727, allocations: 2.387 MB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008217/0.4736, allocations: 437 kB / 1.095 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.4752, allocations: 0.7077 MB / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.476, allocations: 0.4938 MB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.476, allocations: 24 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.4781, allocations: 0.8068 MB / 1.097 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.4783, allocations: 123.4 kB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.4785, allocations: 165.3 kB / 1.097 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.4797, allocations: 0.8417 MB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4797, allocations: 0 / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4797, allocations: 0 / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4797, allocations: 0 / 1.098 GB, free: 12.38 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.001639/0.4814, allocations: 1.012 MB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4814, allocations: 8.031 kB / 1.099 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.4816, allocations: 86.97 kB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.483, allocations: 0.7145 MB / 1.1 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.4831, allocations: 29 kB / 1.1 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.4831, allocations: 40 kB / 1.1 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.4837, allocations: 314.5 kB / 1.1 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4837, allocations: 0 / 1.1 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.4837, allocations: 19.94 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.4837, allocations: 8 kB / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.4841, allocations: 235.9 kB / 1.1 GB, free: 9.828 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.002069/0.4862, allocations: 1.473 MB / 1.102 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.4864, allocations: 146.5 kB / 1.102 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.4866, allocations: 108.7 kB / 1.102 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000807/0.4874, allocations: 0.8233 MB / 1.103 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.4875, allocations: 38.5 kB / 1.103 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.4875, allocations: 0 / 1.103 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0006153/0.4881, allocations: 302.6 kB / 1.103 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.4882, allocations: 55.41 kB / 1.103 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/0.4892, allocations: 0.7157 MB / 1.104 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.4892, allocations: 29.7 kB / 1.104 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.4896, allocations: 363.6 kB / 1.104 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.4897, allocations: 63.09 kB / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.4897, allocations: 8 kB / 1.104 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.4899, allocations: 329.9 kB / 1.105 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.4901, allocations: 100.8 kB / 1.105 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.4905, allocations: 279.8 kB / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.4908, allocations: 143.9 kB / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.4908, allocations: 0 / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007772/0.4916, allocations: 448.2 kB / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.4918, allocations: 204.8 kB / 1.106 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4918, allocations: 7.984 kB / 1.106 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.4919, allocations: 8 kB / 1.106 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/0.4968, allocations: 0.6553 MB / 1.106 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.4979, allocations: 1.203 MB / 1.108 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.4987, allocations: 51.8 kB / 1.108 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.4988, allocations: 24 kB / 1.108 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4988, allocations: 6.031 kB / 1.108 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006861/0.4995, allocations: 339.8 kB / 1.108 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4995, allocations: 4 kB / 1.108 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4995, allocations: 11.95 kB / 1.108 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/0.504, allocations: 0.6398 MB / 1.109 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008762/0.5049, allocations: 1.207 MB / 1.11 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.5055, allocations: 35.73 kB / 1.11 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.5055, allocations: 27.95 kB / 1.11 GB, free: 15.43 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 (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.0004494/0.506, allocations: 273.1 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5061, allocations: 67.16 kB / 1.11 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.5068, allocations: 397.7 kB / 1.111 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.5068, allocations: 3.984 kB / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5069, allocations: 11.94 kB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5069, allocations: 0 / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.5083, allocations: 0.9965 MB / 1.112 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5083, allocations: 8.031 kB / 1.112 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.5084, allocations: 27.98 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.5085, allocations: 4 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5085, allocations: 8 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.5085, allocations: 7.938 kB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5085, allocations: 0 / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.509, allocations: 469.5 kB / 1.112 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.5093, allocations: 196 kB / 1.112 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.5094, allocations: 8 kB / 1.112 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.5096, allocations: 20.27 kB / 1.112 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.5097, allocations: 23.94 kB / 1.112 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.5097, allocations: 8 kB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000607/0.5103, allocations: 0.4951 MB / 1.113 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5103, allocations: 0 / 1.113 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001257/0.5116, allocations: 387.4 kB / 1.113 GB, free: 11.9 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 (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.0009097/0.5125, allocations: 386.1 kB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01399/0.5265, allocations: 2.143 MB / 1.116 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.5266, allocations: 0 / 1.116 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.5268, allocations: 123.8 kB / 1.116 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5286, allocations: 277.5 kB / 1.116 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.5304, allocations: 1.272 MB / 1.117 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.5309, allocations: 0.9219 MB / 1.118 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006029/0.5315, allocations: 185.3 kB / 1.118 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5316, allocations: 59.42 kB / 1.118 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of SimCode: time 9.82e-07/0.5317, allocations: 4 kB / 1.118 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of Templates: time 0.0239/0.5556, allocations: 12.93 MB / 1.131 GB, free: 9.711 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/jenkins/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