Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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.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_latest_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.009882/0.009882, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.002133/0.002133, allocations: 190.6 kB / 16.67 MB, free: 5.98 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.084/3.084, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 64.12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.331, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.02913/0.3602, allocations: 28.92 MB / 1.236 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3703, allocations: 6.798 MB / 1.243 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.3715, allocations: 35.81 kB / 1.243 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.373, allocations: 413.1 kB / 1.243 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.3778, allocations: 1.361 MB / 1.244 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.3797, allocations: 0.6382 MB / 1.245 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003558/0.3832, allocations: 2.155 MB / 1.247 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.3843, allocations: 0.5478 MB / 1.248 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7449/1.129, allocations: 0.8157 MB / 1.248 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/1.13, allocations: 0.5166 MB / 1.249 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/1.13, allocations: 41.5 kB / 1.249 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/1.133, allocations: 0.9959 MB / 1.25 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/1.133, allocations: 151.2 kB / 1.25 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/1.133, allocations: 369.5 kB / 1.25 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/1.135, allocations: 1.234 MB / 1.252 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.135, allocations: 1.562 kB / 1.252 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/1.135, allocations: 0 / 1.252 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.135, allocations: 0 / 1.252 GB, free: 5.59 MB / 0.9981 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.001432/1.136, allocations: 1.135 MB / 1.253 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/1.136, allocations: 10.25 kB / 1.253 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/1.136, allocations: 88.69 kB / 1.253 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/1.138, allocations: 0.7719 MB / 1.254 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/1.138, allocations: 31.97 kB / 1.254 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/1.138, allocations: 37.88 kB / 1.254 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/1.138, allocations: 324.4 kB / 1.254 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.138, allocations: 0 / 1.254 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/1.138, allocations: 14.53 kB / 1.254 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/1.138, allocations: 8.938 kB / 1.254 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/1.139, allocations: 240.2 kB / 1.254 GB, free: 4.5 MB / 0.9981 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.00193/1.141, allocations: 1.45 MB / 1.256 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/1.141, allocations: 147.8 kB / 1.256 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/1.141, allocations: 106.8 kB / 1.256 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/1.141, allocations: 0.8202 MB / 1.257 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/1.141, allocations: 34.02 kB / 1.257 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.374e-06/1.141, allocations: 0 / 1.257 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0005327/1.142, allocations: 307.9 kB / 1.257 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/1.142, allocations: 54.83 kB / 1.257 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/1.143, allocations: 0.7228 MB / 1.258 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/1.143, allocations: 32.05 kB / 1.258 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.143, allocations: 365.4 kB / 1.258 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/1.143, allocations: 67.3 kB / 1.258 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.143, allocations: 95.75 kB / 1.258 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/1.143, allocations: 322.6 kB / 1.259 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/1.143, allocations: 109.8 kB / 1.259 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/1.144, allocations: 280.5 kB / 1.259 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/1.144, allocations: 351.6 kB / 1.259 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.144, allocations: 0 / 1.259 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006408/1.145, allocations: 438.2 kB / 1.26 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.145, allocations: 9.953 kB / 1.26 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.145, allocations: 6.938 kB / 1.26 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.145, allocations: 5.75 kB / 1.26 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/1.149, allocations: 0.6774 MB / 1.26 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006602/1.15, allocations: 1.21 MB / 1.262 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/1.151, allocations: 47.58 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/1.151, allocations: 24.08 kB / 1.262 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003593/1.151, allocations: 245.6 kB / 1.262 GB, free: 16.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002934/1.151, allocations: 280.2 kB / 1.262 GB, free: 16.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004076/1.152, allocations: 363.9 kB / 1.263 GB, free: 15.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/1.152, allocations: 1.031 kB / 1.263 GB, free: 15.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007469/1.153, allocations: 431.1 kB / 1.263 GB, free: 15.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.153, allocations: 6.969 kB / 1.263 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.153, allocations: 5.188 kB / 1.263 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.153, allocations: 12.03 kB / 1.263 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004597/1.157, allocations: 0.6742 MB / 1.264 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007385/1.158, allocations: 1.208 MB / 1.265 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/1.159, allocations: 40.62 kB / 1.265 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/1.159, allocations: 24.06 kB / 1.265 GB, free: 14.58 MB / 1.014 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.0001991/1.159, allocations: 212.8 kB / 1.265 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.159, allocations: 76.81 kB / 1.265 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/1.16, allocations: 383.7 kB / 1.265 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.16, allocations: 4.875 kB / 1.265 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.16, allocations: 1.719 kB / 1.265 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.16, allocations: 1.172 kB / 1.265 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.161, allocations: 1 MB / 1.266 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.161, allocations: 3.562 kB / 1.266 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.161, allocations: 34.97 kB / 1.266 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/1.162, allocations: 7.156 kB / 1.267 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/1.162, allocations: 5.266 kB / 1.267 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/1.162, allocations: 4.234 kB / 1.267 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.162, allocations: 2.656 kB / 1.267 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/1.162, allocations: 459.9 kB / 1.267 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/1.162, allocations: 172.4 kB / 1.267 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/1.162, allocations: 7.266 kB / 1.267 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/1.163, allocations: 12.19 kB / 1.267 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/1.163, allocations: 27.48 kB / 1.267 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/1.163, allocations: 10.3 kB / 1.267 GB, free: 13.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007183/1.164, allocations: 0.4985 MB / 1.268 GB, free: 13.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.164, allocations: 0 / 1.268 GB, free: 13.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001451/1.165, allocations: 391.7 kB / 1.268 GB, free: 13.36 MB / 1.014 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.001228/1.166, allocations: 388.2 kB / 1.268 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.181, allocations: 2.222 MB / 1.271 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.181, allocations: 0 / 1.271 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/1.181, allocations: 122 kB / 1.271 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.183, allocations: 283.8 kB / 1.271 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/1.185, allocations: 1.072 MB / 1.272 GB, free: 12.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/1.185, allocations: 0.9249 MB / 1.273 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005662/1.186, allocations: 176.8 kB / 1.273 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/1.186, allocations: 60.05 kB / 1.273 GB, free: 11.81 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.186, allocations: 0 / 1.273 GB, free: 11.81 MB / 1.014 GB Notification: Performance of Templates: time 0.03294/1.219, allocations: 13.66 MB / 1.286 GB, free: 10.64 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches