Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001518/0.001518, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001746/0.001746, allocations: 215.4 kB / 23.01 MB, free: 4.609 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.059 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 2.972/2.972, allocations: 0.49 GB / 0.7958 GB, free: 33.41 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.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [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.001887/0.001887, allocations: 68.2 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3013, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05099/0.3523, allocations: 50.96 MB / 1.377 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.37, allocations: 12.77 MB / 1.389 GB, free: 1.531 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.372, allocations: 115 kB / 1.389 GB, free: 1.418 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.3737, allocations: 0.7916 MB / 1.39 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.3781, allocations: 1.959 MB / 1.392 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.3814, allocations: 1.443 MB / 1.394 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004035/0.3854, allocations: 3.311 MB / 1.397 GB, free: 9.902 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.3867, allocations: 0.9737 MB / 1.398 GB, free: 8.891 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.3899, allocations: 1.532 MB / 1.399 GB, free: 7.363 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.3912, allocations: 0.968 MB / 1.4 GB, free: 6.391 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.3913, allocations: 100 kB / 1.4 GB, free: 6.293 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.3935, allocations: 1.154 MB / 1.401 GB, free: 5.137 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.3938, allocations: 314.6 kB / 1.402 GB, free: 4.828 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.3944, allocations: 0.6723 MB / 1.402 GB, free: 4.152 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.3971, allocations: 2.07 MB / 1.404 GB, free: 2.074 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3971, allocations: 0 / 1.404 GB, free: 2.074 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3971, allocations: 0 / 1.404 GB, free: 2.074 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.3972, allocations: 4 kB / 1.404 GB, free: 2.07 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002485/0.3996, allocations: 1.678 MB / 1.406 GB, free: 360 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3997, allocations: 8.031 kB / 1.406 GB, free: 352 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006277/0.4003, allocations: 223.9 kB / 1.406 GB, free: 128 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.4022, allocations: 1.03 MB / 1.407 GB, free: 15.05 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/0.4023, allocations: 66.38 kB / 1.407 GB, free: 14.98 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4024, allocations: 87.94 kB / 1.407 GB, free: 14.9 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.404, allocations: 1.003 MB / 1.408 GB, free: 13.81 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4041, allocations: 7.938 kB / 1.408 GB, free: 13.8 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.4041, allocations: 36 kB / 1.408 GB, free: 13.77 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.4041, allocations: 20 kB / 1.408 GB, free: 13.75 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.4055, allocations: 0.6516 MB / 1.409 GB, free: 13.1 MB / 1.108 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.004952/0.4105, allocations: 4.674 MB / 1.414 GB, free: 8.156 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4115, allocations: 390.5 kB / 1.414 GB, free: 7.766 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.412, allocations: 196.7 kB / 1.414 GB, free: 7.57 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.4123, allocations: 103.9 kB / 1.414 GB, free: 7.469 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4124, allocations: 34.56 kB / 1.414 GB, free: 7.426 MB / 1.108 GB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.4124, allocations: 0 / 1.414 GB, free: 7.426 MB / 1.108 GB Notification: Performance of matching and sorting (n=29): time 0.002492/0.4148, allocations: 0.8555 MB / 1.415 GB, free: 6.555 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4149, allocations: 59.34 kB / 1.415 GB, free: 6.484 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.416, allocations: 0.9794 MB / 1.416 GB, free: 5.492 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.4161, allocations: 33.7 kB / 1.416 GB, free: 5.453 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.4165, allocations: 0.5979 MB / 1.417 GB, free: 4.852 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/0.4166, allocations: 115 kB / 1.417 GB, free: 4.738 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.4168, allocations: 110.1 kB / 1.417 GB, free: 4.625 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4169, allocations: 330 kB / 1.417 GB, free: 4.297 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.4174, allocations: 192.8 kB / 1.418 GB, free: 4.105 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/0.4181, allocations: 413.7 kB / 1.418 GB, free: 3.617 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.4192, allocations: 0.5943 MB / 1.419 GB, free: 2.934 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4192, allocations: 4 kB / 1.419 GB, free: 2.93 MB / 1.108 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001524/0.4207, allocations: 0.761 MB / 1.419 GB, free: 2.152 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4207, allocations: 8 kB / 1.419 GB, free: 2.145 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4208, allocations: 8 kB / 1.419 GB, free: 2.137 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.4214, allocations: 150.6 kB / 1.419 GB, free: 1.98 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.4219, allocations: 147.7 kB / 1.42 GB, free: 1.836 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.4231, allocations: 1.719 MB / 1.421 GB, free: 40 kB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.4237, allocations: 91.67 kB / 1.421 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.4237, allocations: 31.98 kB / 1.421 GB, free: 15.92 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.4241, allocations: 265.6 kB / 1.422 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.4243, allocations: 115.2 kB / 1.422 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4259, allocations: 0.7215 MB / 1.422 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.426, allocations: 11.97 kB / 1.422 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.426, allocations: 3.938 kB / 1.422 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.426, allocations: 4 kB / 1.422 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.4287, allocations: 1.617 MB / 1.424 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4287, allocations: 192 / 1.424 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.4291, allocations: 83.91 kB / 1.424 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/0.4296, allocations: 154.4 kB / 1.424 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.4297, allocations: 15.94 kB / 1.424 GB, free: 12.83 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.4308, allocations: 1.708 MB / 1.426 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4308, allocations: 4.031 kB / 1.426 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.4323, allocations: 0.7964 MB / 1.427 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.4326, allocations: 179.1 kB / 1.427 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4327, allocations: 8 kB / 1.427 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.4332, allocations: 43.95 kB / 1.427 GB, free: 9.973 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.4333, allocations: 39.88 kB / 1.427 GB, free: 9.934 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.4333, allocations: 23.98 kB / 1.427 GB, free: 9.91 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00083/0.4342, allocations: 0.6658 MB / 1.428 GB, free: 9.238 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.4342, allocations: 0 / 1.428 GB, free: 9.238 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000971/0.4351, allocations: 390.9 kB / 1.428 GB, free: 8.855 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006087/0.4358, allocations: 387.6 kB / 1.428 GB, free: 8.469 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.4372, allocations: 0.5323 MB / 1.429 GB, free: 7.938 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4372, allocations: 4 kB / 1.429 GB, free: 7.934 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.4379, allocations: 280.2 kB / 1.429 GB, free: 7.66 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.44, allocations: 0.5187 MB / 1.43 GB, free: 7.156 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.4428, allocations: 1.879 MB / 1.432 GB, free: 5.223 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.4435, allocations: 1.095 MB / 1.433 GB, free: 4.102 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.4436, allocations: 75.42 kB / 1.433 GB, free: 4.027 MB / 1.123 GB Notification: Performance of SimCode: time 3.6e-07/0.4436, allocations: 0 / 1.433 GB, free: 4.027 MB / 1.123 GB Notification: Performance of Templates: time 0.036/0.4797, allocations: 32.32 MB / 1.464 GB, free: 3.836 MB / 1.154 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: 13.267701196018606]