Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 216.5 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.365/3.365, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 68.05 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4348, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03514/0.4699, allocations: 26.84 MB / 1.353 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.4814, allocations: 6.308 MB / 1.359 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.4827, allocations: 55.5 kB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.4841, allocations: 417.1 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.4886, allocations: 1.368 MB / 1.361 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.4907, allocations: 0.672 MB / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003794/0.4945, allocations: 2.237 MB / 1.364 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009134/0.4954, allocations: 465.4 kB / 1.365 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.4984, allocations: 1.164 MB / 1.366 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.4996, allocations: 0.5093 MB / 1.366 GB, free: 8.848 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.068e-05/0.4996, allocations: 36 kB / 1.366 GB, free: 8.812 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.5018, allocations: 0.7291 MB / 1.367 GB, free: 8.082 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.502, allocations: 151.2 kB / 1.367 GB, free: 7.934 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.5024, allocations: 294.4 kB / 1.367 GB, free: 7.645 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.5048, allocations: 1.148 MB / 1.368 GB, free: 6.492 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5048, allocations: 0 / 1.368 GB, free: 6.492 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5048, allocations: 0 / 1.368 GB, free: 6.492 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.5048, allocations: 0 / 1.368 GB, free: 6.492 MB / 1.061 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.00196/0.5068, allocations: 1.091 MB / 1.369 GB, free: 5.367 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5068, allocations: 8.031 kB / 1.37 GB, free: 5.359 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.507, allocations: 92.38 kB / 1.37 GB, free: 5.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.5088, allocations: 0.6897 MB / 1.37 GB, free: 4.547 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.5088, allocations: 33 kB / 1.37 GB, free: 4.516 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.5089, allocations: 40 kB / 1.37 GB, free: 4.477 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.5095, allocations: 322.5 kB / 1.371 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5095, allocations: 3.984 kB / 1.371 GB, free: 4.152 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.5095, allocations: 12 kB / 1.371 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5096, allocations: 8 kB / 1.371 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.5101, allocations: 239.8 kB / 1.371 GB, free: 3.898 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.5119, allocations: 0.9235 MB / 1.372 GB, free: 2.941 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.5122, allocations: 140.2 kB / 1.372 GB, free: 2.797 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.5124, allocations: 96.8 kB / 1.372 GB, free: 2.699 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.5127, allocations: 79.94 kB / 1.372 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.5127, allocations: 30.56 kB / 1.372 GB, free: 2.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.5127, allocations: 4 kB / 1.372 GB, free: 2.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006147/0.5133, allocations: 310.8 kB / 1.372 GB, free: 2.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5134, allocations: 55.41 kB / 1.372 GB, free: 2.203 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.5144, allocations: 0.653 MB / 1.373 GB, free: 1.539 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.5144, allocations: 33.7 kB / 1.373 GB, free: 1.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.5148, allocations: 380.3 kB / 1.374 GB, free: 1.121 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.5149, allocations: 71.36 kB / 1.374 GB, free: 1.051 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.515, allocations: 102.1 kB / 1.374 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.5153, allocations: 374.8 kB / 1.374 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.5155, allocations: 106.5 kB / 1.374 GB, free: 476 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.5162, allocations: 0.5708 MB / 1.375 GB, free: 15.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.5166, allocations: 339.9 kB / 1.375 GB, free: 15.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5167, allocations: 0 / 1.375 GB, free: 15.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008411/0.5175, allocations: 433 kB / 1.375 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5175, allocations: 8.062 kB / 1.375 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5175, allocations: 8 kB / 1.375 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.5175, allocations: 4 kB / 1.375 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007342/0.5249, allocations: 0.94 MB / 1.376 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.5259, allocations: 1.192 MB / 1.378 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.5265, allocations: 35.83 kB / 1.378 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.5265, allocations: 23.94 kB / 1.378 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004232/0.5269, allocations: 248.9 kB / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007166/0.5277, allocations: 0.5765 MB / 1.378 GB, free: 11.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005623/0.5282, allocations: 357.8 kB / 1.379 GB, free: 11.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.5282, allocations: 0 / 1.379 GB, free: 11.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009392/0.5292, allocations: 433 kB / 1.379 GB, free: 10.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5292, allocations: 12.03 kB / 1.379 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.5292, allocations: 7.938 kB / 1.379 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5292, allocations: 8 kB / 1.379 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007152/0.5364, allocations: 0.9323 MB / 1.38 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.5374, allocations: 1.199 MB / 1.381 GB, free: 8.648 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.5379, allocations: 35.83 kB / 1.381 GB, free: 8.613 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.5379, allocations: 20 kB / 1.381 GB, free: 8.594 MB / 1.076 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.0002292/0.5381, allocations: 208.9 kB / 1.382 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5383, allocations: 83.45 kB / 1.382 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.539, allocations: 384.6 kB / 1.382 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.539, allocations: 3.984 kB / 1.382 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.539, allocations: 0 / 1.382 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.5392, allocations: 91.38 kB / 1.382 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.5393, allocations: 11.92 kB / 1.382 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.5395, allocations: 4 kB / 1.382 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.5395, allocations: 11.92 kB / 1.382 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004908/0.54, allocations: 357.5 kB / 1.382 GB, free: 7.434 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005351/0.5405, allocations: 498.2 kB / 1.383 GB, free: 6.93 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001698/0.5407, allocations: 108.8 kB / 1.383 GB, free: 6.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005522/0.5412, allocations: 447 kB / 1.383 GB, free: 6.391 MB / 1.076 GB Notification: Performance of Backend: time 4.21e-07/0.5412, allocations: 0 / 1.383 GB, free: 6.391 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.03945/0.5807, allocations: 5.006 MB / 1.388 GB, free: 1.375 MB / 1.076 GB Notification: Performance of SimCode: time 0.002918/0.5836, allocations: 1.679 MB / 1.39 GB, free: 15.65 MB / 1.092 GB Notification: Performance of Templates: time 0.0279/0.6115, allocations: 14.71 MB / 1.404 GB, free: 1.195 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.102359060001618]