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.001238/0.001238, allocations: 116.1 kB / 16.42 MB, free: 6.02 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.001265/0.001265, allocations: 185.6 kB / 17.35 MB, free: 5.633 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002908/0.002908, allocations: 59.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412/1.415, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.02894/1.444, allocations: 28.91 MB / 1.237 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01023/1.454, allocations: 6.795 MB / 1.243 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/1.456, allocations: 39.75 kB / 1.243 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/1.457, allocations: 409.1 kB / 1.244 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003747/1.461, allocations: 1.306 MB / 1.245 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/1.462, allocations: 0.6378 MB / 1.246 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003053/1.466, allocations: 2.155 MB / 1.248 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/1.466, allocations: 0.5361 MB / 1.248 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/1.468, allocations: 0.8209 MB / 1.249 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/1.469, allocations: 0.5171 MB / 1.25 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.929e-05/1.469, allocations: 40 kB / 1.25 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/1.471, allocations: 0.9941 MB / 1.251 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/1.471, allocations: 155.3 kB / 1.251 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/1.472, allocations: 373.9 kB / 1.251 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/1.474, allocations: 1.232 MB / 1.252 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.474, allocations: 0 / 1.252 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/1.474, allocations: 0 / 1.252 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.474, allocations: 0 / 1.252 GB, free: 0.5742 MB / 0.9669 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.001692/1.475, allocations: 1.136 MB / 1.253 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.475, allocations: 12.03 kB / 1.253 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/1.476, allocations: 83.91 kB / 1.253 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/1.477, allocations: 0.7767 MB / 1.254 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/1.477, allocations: 29 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/1.477, allocations: 40 kB / 1.254 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/1.478, allocations: 326.4 kB / 1.255 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.478, allocations: 0 / 1.255 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/1.478, allocations: 12 kB / 1.255 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.478, allocations: 8 kB / 1.255 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/1.478, allocations: 239.9 kB / 1.255 GB, free: 13.83 MB / 0.9825 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.001915/1.48, allocations: 1.453 MB / 1.256 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/1.48, allocations: 146.5 kB / 1.256 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/1.48, allocations: 112.7 kB / 1.257 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007086/1.481, allocations: 0.8154 MB / 1.257 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.481, allocations: 34.56 kB / 1.257 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/1.481, allocations: 0 / 1.257 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0005913/1.482, allocations: 315.1 kB / 1.258 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/1.482, allocations: 55.41 kB / 1.258 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/1.483, allocations: 0.7196 MB / 1.258 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.483, allocations: 33.7 kB / 1.258 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/1.483, allocations: 359.6 kB / 1.259 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/1.483, allocations: 71.08 kB / 1.259 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/1.483, allocations: 98.03 kB / 1.259 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.483, allocations: 322 kB / 1.259 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/1.484, allocations: 114.5 kB / 1.259 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/1.484, allocations: 275.9 kB / 1.26 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/1.485, allocations: 351.9 kB / 1.26 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.485, allocations: 0 / 1.26 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007283/1.485, allocations: 440.3 kB / 1.26 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.485, allocations: 8.438 kB / 1.26 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.485, allocations: 8 kB / 1.26 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/1.485, allocations: 7.938 kB / 1.26 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/1.49, allocations: 0.6788 MB / 1.261 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008372/1.491, allocations: 1.203 MB / 1.262 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/1.491, allocations: 51.52 kB / 1.262 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/1.491, allocations: 20 kB / 1.262 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003577/1.492, allocations: 240.9 kB / 1.263 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003338/1.492, allocations: 281.8 kB / 1.263 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004275/1.492, allocations: 361.6 kB / 1.263 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/1.492, allocations: 0 / 1.263 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006596/1.493, allocations: 436.4 kB / 1.264 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/1.493, allocations: 8 kB / 1.264 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.493, allocations: 4.438 kB / 1.264 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/1.493, allocations: 12 kB / 1.264 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/1.497, allocations: 0.6826 MB / 1.264 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007225/1.498, allocations: 1.207 MB / 1.265 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/1.499, allocations: 31.84 kB / 1.265 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/1.499, allocations: 27.98 kB / 1.265 GB, free: 2.172 MB / 0.9825 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.00019/1.499, allocations: 212 kB / 1.266 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.499, allocations: 75.06 kB / 1.266 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/1.5, allocations: 387.9 kB / 1.266 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.5, allocations: 4 kB / 1.266 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.5, allocations: 0 / 1.266 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/1.5, allocations: 172.1 kB / 1.266 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/1.5, allocations: 4 kB / 1.266 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/1.5, allocations: 4 kB / 1.266 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/1.5, allocations: 15.97 kB / 1.266 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004381/1.501, allocations: 352.6 kB / 1.267 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005183/1.501, allocations: 489.7 kB / 1.267 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001426/1.501, allocations: 107.9 kB / 1.267 GB, free: 324 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006176/1.502, allocations: 0.499 MB / 1.268 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of Backend: time 8.62e-07/1.502, allocations: 0 / 1.268 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01452/1.517, allocations: 2.525 MB / 1.27 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002704/1.519, allocations: 1.675 MB / 1.272 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of Templates: time 0.02671/1.546, allocations: 14.6 MB / 1.286 GB, free: 13.14 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/jenkins1/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