Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.001303/0.001303, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001424/0.001424, allocations: 210.6 kB / 23 MB, free: 4.934 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.102/3.102, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation") [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.00194/0.00194, allocations: 73.14 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.305, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02365/0.3287, allocations: 19.42 MB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007969/0.3367, allocations: 4.98 MB / 1.351 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.3371, allocations: 35.69 kB / 1.351 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008357/0.3379, allocations: 341.8 kB / 1.351 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.3401, allocations: 0.968 MB / 1.352 GB, free: 7.121 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.3423, allocations: 0.9615 MB / 1.353 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.3444, allocations: 1.778 MB / 1.355 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.345, allocations: 417.8 kB / 1.355 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.3468, allocations: 0.7943 MB / 1.356 GB, free: 3.164 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.3474, allocations: 0.5057 MB / 1.357 GB, free: 2.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.732e-05/0.3475, allocations: 40 kB / 1.357 GB, free: 2.617 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.3494, allocations: 0.9514 MB / 1.358 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.3496, allocations: 155.3 kB / 1.358 GB, free: 1.512 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.35, allocations: 270.7 kB / 1.358 GB, free: 1.246 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.3518, allocations: 1.203 MB / 1.359 GB, free: 40 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3519, allocations: 4 kB / 1.359 GB, free: 36 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3519, allocations: 0 / 1.359 GB, free: 36 kB / 1.045 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.3519, allocations: 0 / 1.359 GB, free: 36 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001717/0.3536, allocations: 0.9959 MB / 1.36 GB, free: 15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3536, allocations: 11.97 kB / 1.36 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.3546, allocations: 180.4 kB / 1.36 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.3559, allocations: 0.5403 MB / 1.361 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.3559, allocations: 33 kB / 1.361 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.356, allocations: 39.94 kB / 1.361 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3571, allocations: 0.6254 MB / 1.361 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3571, allocations: 0 / 1.361 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.3572, allocations: 16 kB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3572, allocations: 12 kB / 1.362 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3583, allocations: 436.3 kB / 1.362 GB, free: 13.03 MB / 1.061 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.002777/0.361, allocations: 1.462 MB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3621, allocations: 372.6 kB / 1.364 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.3626, allocations: 242.6 kB / 1.364 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.3627, allocations: 32.22 kB / 1.364 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007346/0.3635, allocations: 438.4 kB / 1.364 GB, free: 10.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.3635, allocations: 0 / 1.364 GB, free: 10.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.00235/0.3658, allocations: 0.8423 MB / 1.365 GB, free: 9.523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3659, allocations: 85.11 kB / 1.365 GB, free: 9.422 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.3664, allocations: 466 kB / 1.366 GB, free: 8.953 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.3665, allocations: 37.7 kB / 1.366 GB, free: 8.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.3667, allocations: 284.6 kB / 1.366 GB, free: 8.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3668, allocations: 114.9 kB / 1.366 GB, free: 8.516 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.367, allocations: 81.67 kB / 1.366 GB, free: 8.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3671, allocations: 358.8 kB / 1.367 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.3676, allocations: 206.5 kB / 1.367 GB, free: 7.859 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.3683, allocations: 483.3 kB / 1.367 GB, free: 7.305 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.3693, allocations: 465 kB / 1.368 GB, free: 6.816 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3693, allocations: 0 / 1.368 GB, free: 6.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001495/0.3708, allocations: 0.6494 MB / 1.368 GB, free: 6.145 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.3708, allocations: 39.09 kB / 1.368 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3708, allocations: 0 / 1.368 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/0.3712, allocations: 80.84 kB / 1.368 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.3716, allocations: 75.88 kB / 1.368 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005269/0.3721, allocations: 0.6031 MB / 1.369 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.3726, allocations: 55.81 kB / 1.369 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.3726, allocations: 15.98 kB / 1.369 GB, free: 5.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006052/0.3732, allocations: 345.5 kB / 1.369 GB, free: 4.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006518/0.3739, allocations: 482.7 kB / 1.37 GB, free: 4.344 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009499/0.3748, allocations: 464.9 kB / 1.37 GB, free: 3.855 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.3748, allocations: 0 / 1.37 GB, free: 3.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001367/0.3762, allocations: 0.6182 MB / 1.371 GB, free: 3.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.3762, allocations: 37.69 kB / 1.371 GB, free: 3.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3762, allocations: 4 kB / 1.371 GB, free: 3.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.3764, allocations: 44.83 kB / 1.371 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.3767, allocations: 84.03 kB / 1.371 GB, free: 3.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.3784, allocations: 1.618 MB / 1.373 GB, free: 1.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.3788, allocations: 55.94 kB / 1.373 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.3789, allocations: 23.92 kB / 1.373 GB, free: 1.242 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.3791, allocations: 235.7 kB / 1.373 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3792, allocations: 59.66 kB / 1.373 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.3807, allocations: 0.6742 MB / 1.374 GB, free: 244 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/0.3821, allocations: 0.8344 MB / 1.375 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3821, allocations: 0 / 1.375 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3823, allocations: 99.48 kB / 1.375 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3824, allocations: 15.92 kB / 1.375 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.3829, allocations: 35.97 kB / 1.375 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.383, allocations: 27.94 kB / 1.375 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001697/0.3847, allocations: 0.7773 MB / 1.375 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001953/0.3866, allocations: 1.046 MB / 1.377 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005126/0.3871, allocations: 238 kB / 1.377 GB, free: 13.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003668/0.3875, allocations: 322.9 kB / 1.377 GB, free: 12.7 MB / 1.076 GB Notification: Performance of Backend: time 7.12e-07/0.3875, allocations: 0 / 1.377 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.3903, allocations: 1.136 MB / 1.378 GB, free: 11.5 MB / 1.076 GB Notification: Performance of SimCode: time 0.0023/0.3926, allocations: 1.632 MB / 1.38 GB, free: 9.812 MB / 1.076 GB Notification: Performance of Templates: time 0.02501/0.4176, allocations: 15 MB / 1.394 GB, free: 10.98 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.006397291996109]