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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.007336/0.007336, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.00142/0.00142, allocations: 187 kB / 16.67 MB, free: 5.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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7453 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.12 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3694, allocations: 159.9 MB / 1.226 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.8647/1.234, allocations: 28.91 MB / 1.254 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009963/1.244, allocations: 6.797 MB / 1.26 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/1.246, allocations: 35.19 kB / 1.26 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/1.247, allocations: 407 kB / 1.261 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004541/1.251, allocations: 1.32 MB / 1.262 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/1.254, allocations: 0.6282 MB / 1.263 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003665/1.257, allocations: 2.154 MB / 1.265 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/1.258, allocations: 0.5406 MB / 1.265 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/1.26, allocations: 0.8003 MB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008971/1.261, allocations: 0.519 MB / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/1.261, allocations: 45.19 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/1.264, allocations: 0.9897 MB / 1.268 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/1.265, allocations: 151.6 kB / 1.268 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004642/1.265, allocations: 375.8 kB / 1.268 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/1.268, allocations: 1.236 MB / 1.269 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.268, allocations: 0 / 1.269 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.695e-06/1.268, allocations: 2.625 kB / 1.269 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.48e-05/1.268, allocations: 0 / 1.269 GB, free: 4.82 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.001781/1.27, allocations: 1.171 MB / 1.271 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.27, allocations: 10.81 kB / 1.271 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/1.27, allocations: 90.86 kB / 1.271 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/1.272, allocations: 0.7772 MB / 1.271 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/1.272, allocations: 30.03 kB / 1.271 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/1.272, allocations: 36.22 kB / 1.271 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/1.273, allocations: 325.6 kB / 1.272 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.273, allocations: 0 / 1.272 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/1.273, allocations: 19.94 kB / 1.272 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/1.273, allocations: 7.719 kB / 1.272 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/1.273, allocations: 238.9 kB / 1.272 GB, free: 3.625 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.002176/1.275, allocations: 1.451 MB / 1.273 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/1.276, allocations: 147.1 kB / 1.274 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/1.276, allocations: 104.2 kB / 1.274 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004589/1.276, allocations: 0.8194 MB / 1.274 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/1.276, allocations: 44.31 kB / 1.275 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/1.276, allocations: 0 / 1.275 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0006232/1.277, allocations: 314.6 kB / 1.275 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/1.277, allocations: 60.75 kB / 1.275 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/1.278, allocations: 0.7173 MB / 1.276 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/1.278, allocations: 31.48 kB / 1.276 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/1.278, allocations: 367.7 kB / 1.276 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/1.278, allocations: 76.47 kB / 1.276 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.279, allocations: 100.5 kB / 1.276 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/1.279, allocations: 326.3 kB / 1.276 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/1.279, allocations: 104.2 kB / 1.277 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/1.279, allocations: 279.7 kB / 1.277 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/1.28, allocations: 352.2 kB / 1.277 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.28, allocations: 3.156 kB / 1.277 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007659/1.28, allocations: 446.5 kB / 1.278 GB, free: 356 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.28, allocations: 8.406 kB / 1.278 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.28, allocations: 4.25 kB / 1.278 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.28, allocations: 11.06 kB / 1.278 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/1.286, allocations: 0.6776 MB / 1.278 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008763/1.286, allocations: 1.204 MB / 1.279 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/1.287, allocations: 55.61 kB / 1.279 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/1.287, allocations: 23.69 kB / 1.28 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004495/1.288, allocations: 249.2 kB / 1.28 GB, free: 14.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003948/1.288, allocations: 282.2 kB / 1.28 GB, free: 14.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000509/1.289, allocations: 356.7 kB / 1.28 GB, free: 14.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/1.289, allocations: 1.156 kB / 1.28 GB, free: 14.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007685/1.289, allocations: 445.8 kB / 1.281 GB, free: 14.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.289, allocations: 7.359 kB / 1.281 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.289, allocations: 5.281 kB / 1.281 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/1.289, allocations: 6.812 kB / 1.281 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/1.294, allocations: 0.6792 MB / 1.281 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007174/1.295, allocations: 1.206 MB / 1.283 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/1.295, allocations: 33.98 kB / 1.283 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/1.295, allocations: 19.14 kB / 1.283 GB, free: 12.98 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.0002092/1.295, allocations: 215.8 kB / 1.283 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.296, allocations: 81.02 kB / 1.283 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/1.296, allocations: 384.2 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.296, allocations: 3.234 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.296, allocations: 0.5156 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/1.296, allocations: 5.25 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/1.298, allocations: 1.003 MB / 1.284 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/1.298, allocations: 2.688 kB / 1.284 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.298, allocations: 28.05 kB / 1.284 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.298, allocations: 4.609 kB / 1.284 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.298, allocations: 16.22 kB / 1.284 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/1.298, allocations: 4.688 kB / 1.284 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.298, allocations: 2.938 kB / 1.284 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/1.299, allocations: 467.8 kB / 1.285 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/1.299, allocations: 175.5 kB / 1.285 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/1.299, allocations: 9.359 kB / 1.285 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/1.299, allocations: 7.312 kB / 1.285 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/1.299, allocations: 25.2 kB / 1.285 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/1.299, allocations: 12.05 kB / 1.285 GB, free: 11.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007402/1.3, allocations: 0.5016 MB / 1.286 GB, free: 11.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.683e-06/1.3, allocations: 0 / 1.286 GB, free: 11.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001392/1.301, allocations: 392.5 kB / 1.286 GB, free: 11.13 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.000944/1.302, allocations: 385.9 kB / 1.286 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.317, allocations: 2.23 MB / 1.288 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.317, allocations: 0 / 1.288 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/1.317, allocations: 123.2 kB / 1.289 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.319, allocations: 292.8 kB / 1.289 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/1.321, allocations: 1.095 MB / 1.29 GB, free: 9.949 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/1.322, allocations: 0.9201 MB / 1.291 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006379/1.322, allocations: 178.1 kB / 1.291 GB, free: 9.203 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/1.322, allocations: 55.52 kB / 1.291 GB, free: 9.191 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.322, allocations: 4 kB / 1.291 GB, free: 9.188 MB / 1.014 GB Notification: Performance of Templates: time 0.03254/1.355, allocations: 13.64 MB / 1.304 GB, free: 7.902 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