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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002289/0.002289, allocations: 193.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.339/3.339, allocations: 497.2 MB / 0.7845 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.48 kB / 1.139 GB, free: 33.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03449/0.3647, allocations: 29.44 MB / 1.338 GB, free: 2.449 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.3759, allocations: 6.822 MB / 1.345 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.3773, allocations: 39.69 kB / 1.345 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.3785, allocations: 421.1 kB / 1.345 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004055/0.3825, allocations: 1.365 MB / 1.346 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.3845, allocations: 0.6294 MB / 1.347 GB, free: 9.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004005/0.3886, allocations: 2.147 MB / 1.349 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007745/0.3893, allocations: 452.9 kB / 1.35 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.3914, allocations: 0.9688 MB / 1.351 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007844/0.3922, allocations: 0.5327 MB / 1.351 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.3923, allocations: 40 kB / 1.351 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.3945, allocations: 1.002 MB / 1.352 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.3947, allocations: 159.2 kB / 1.352 GB, free: 3.848 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.3951, allocations: 373.9 kB / 1.353 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.3972, allocations: 1.234 MB / 1.354 GB, free: 2.242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3972, allocations: 0 / 1.354 GB, free: 2.242 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3972, allocations: 0 / 1.354 GB, free: 2.242 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3972, allocations: 0 / 1.354 GB, free: 2.242 MB / 1.045 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.001917/0.3991, allocations: 1.174 MB / 1.355 GB, free: 1.016 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3992, allocations: 8.625 kB / 1.355 GB, free: 1.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.3994, allocations: 92.38 kB / 1.355 GB, free: 0.918 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.401, allocations: 0.7775 MB / 1.356 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.401, allocations: 29 kB / 1.356 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.4011, allocations: 36 kB / 1.356 GB, free: 32 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.4017, allocations: 322.4 kB / 1.356 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4017, allocations: 3.938 kB / 1.356 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.4017, allocations: 16 kB / 1.356 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4017, allocations: 8 kB / 1.356 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.4022, allocations: 239.9 kB / 1.356 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.4044, allocations: 1.446 MB / 1.358 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.4047, allocations: 146.5 kB / 1.358 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.4048, allocations: 104.7 kB / 1.358 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008243/0.4057, allocations: 0.8194 MB / 1.359 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.4057, allocations: 34.56 kB / 1.359 GB, free: 12.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.4057, allocations: 0 / 1.359 GB, free: 12.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006735/0.4064, allocations: 318.8 kB / 1.359 GB, free: 12.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.4064, allocations: 51.41 kB / 1.359 GB, free: 12.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/0.4074, allocations: 0.7274 MB / 1.36 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.4074, allocations: 25.7 kB / 1.36 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.4078, allocations: 372.1 kB / 1.36 GB, free: 11.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.4078, allocations: 71.42 kB / 1.36 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.408, allocations: 98.06 kB / 1.36 GB, free: 10.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4081, allocations: 322 kB / 1.361 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.4083, allocations: 110.5 kB / 1.361 GB, free: 10.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.4087, allocations: 276 kB / 1.361 GB, free: 10.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.4092, allocations: 343.9 kB / 1.361 GB, free: 9.723 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4092, allocations: 0 / 1.361 GB, free: 9.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007639/0.41, allocations: 449 kB / 1.362 GB, free: 9.277 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.41, allocations: 12.06 kB / 1.362 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.41, allocations: 11.92 kB / 1.362 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.4101, allocations: 8 kB / 1.362 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004734/0.4148, allocations: 0.671 MB / 1.363 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/0.4158, allocations: 1.211 MB / 1.364 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.4162, allocations: 47.72 kB / 1.364 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.4163, allocations: 24 kB / 1.364 GB, free: 7.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003966/0.4167, allocations: 248.9 kB / 1.364 GB, free: 6.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003595/0.4171, allocations: 277.8 kB / 1.364 GB, free: 6.652 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004684/0.4175, allocations: 357.8 kB / 1.365 GB, free: 6.238 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.4175, allocations: 4 kB / 1.365 GB, free: 6.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007521/0.4183, allocations: 440.6 kB / 1.365 GB, free: 5.797 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4183, allocations: 8.438 kB / 1.365 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4183, allocations: 11.98 kB / 1.365 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4183, allocations: 8 kB / 1.365 GB, free: 5.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/0.4229, allocations: 0.6709 MB / 1.366 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000844/0.4237, allocations: 1.207 MB / 1.367 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.4242, allocations: 43.75 kB / 1.367 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.4242, allocations: 20 kB / 1.367 GB, free: 3.781 MB / 1.061 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.0001968/0.4244, allocations: 212.1 kB / 1.367 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.4245, allocations: 75.48 kB / 1.367 GB, free: 3.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/0.4252, allocations: 390 kB / 1.368 GB, free: 3.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.4252, allocations: 11.92 kB / 1.368 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4253, allocations: 7.922 kB / 1.368 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4253, allocations: 0 / 1.368 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.4268, allocations: 1 MB / 1.369 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4268, allocations: 0 / 1.369 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4269, allocations: 31.92 kB / 1.369 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4269, allocations: 4 kB / 1.369 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4269, allocations: 11.98 kB / 1.369 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.4269, allocations: 4 kB / 1.369 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4269, allocations: 4 kB / 1.369 GB, free: 1.938 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.4275, allocations: 477.5 kB / 1.369 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.4277, allocations: 168.5 kB / 1.369 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.4278, allocations: 8 kB / 1.369 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.4281, allocations: 15.98 kB / 1.369 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.4281, allocations: 15.92 kB / 1.369 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.4281, allocations: 15.98 kB / 1.369 GB, free: 1.195 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006633/0.4288, allocations: 0.499 MB / 1.37 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4288, allocations: 4 kB / 1.37 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001155/0.43, allocations: 391.1 kB / 1.37 GB, free: 320 kB / 1.061 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.0008195/0.4308, allocations: 378 kB / 1.371 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01414/0.4449, allocations: 2.209 MB / 1.373 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4449, allocations: 0 / 1.373 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4451, allocations: 111.8 kB / 1.373 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.4468, allocations: 294.1 kB / 1.373 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.4486, allocations: 1.093 MB / 1.374 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.4492, allocations: 0.9256 MB / 1.375 GB, free: 11.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005806/0.4498, allocations: 177.4 kB / 1.375 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.4499, allocations: 55.44 kB / 1.375 GB, free: 11.01 MB / 1.076 GB Notification: Performance of SimCode: time 1.283e-06/0.4499, allocations: 0 / 1.375 GB, free: 11.01 MB / 1.076 GB Notification: Performance of Templates: time 0.02677/0.4767, allocations: 13.85 MB / 1.389 GB, free: 13.33 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (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=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.556660236790776]